Skip to content

Build your personal knowledge base with Trilium Notes

ci: stop persisting checkout credentials

Thibaud-Vdba2d32091d642
diff --git a/.github/actions/report-size/action.yml b/.github/actions/report-size/action.yml
index 437770b96f..b29443b075 100644
--- a/.github/actions/report-size/action.yml
+++ b/.github/actions/report-size/action.yml
@@ -46,6 +46,7 @@ runs:
- name: Checkout base branch
uses: actions/checkout@v7
with:
+ persist-credentials: false
ref: ${{ inputs.branch }}
path: br-base
token: ${{ inputs.ghToken }}
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 7fa31449cb..8e3f9268e9 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -58,6 +58,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
diff --git a/.github/workflows/deploy-app.yml b/.github/workflows/deploy-app.yml
index d2236b1b67..5f891365e0 100644
--- a/.github/workflows/deploy-app.yml
+++ b/.github/workflows/deploy-app.yml
@@ -38,6 +38,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index f3a1ef6ba7..5ebc09ed69 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -43,6 +43,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index b7f4c639b5..0e10404a21 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -37,6 +37,8 @@ jobs:
ckeditor5: ${{ steps.filter.outputs.ckeditor5 }}
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: filter
@@ -100,6 +102,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
@@ -283,6 +287,8 @@ jobs:
- name: Checkout the repository
if: env.AFFECTED == 'true'
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
if: env.AFFECTED == 'true'
@@ -338,6 +344,8 @@ jobs:
- name: Checkout the repository
if: env.AFFECTED == 'true'
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
if: env.AFFECTED == 'true'
@@ -398,6 +406,8 @@ jobs:
- name: Checkout the repository
if: env.AFFECTED == 'true'
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
if: env.AFFECTED == 'true'
@@ -465,6 +475,8 @@ jobs:
- name: Checkout the repository
if: env.AFFECTED == 'true'
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
if: env.AFFECTED == 'true'
@@ -527,6 +539,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
@@ -566,6 +580,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml
index 97fe2b98be..9149a4956a 100644
--- a/.github/workflows/i18n.yml
+++ b/.github/workflows/i18n.yml
@@ -22,6 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index e1f05430bb..0bf2f5df38 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -35,6 +35,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
@@ -148,6 +150,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml
index a305c8086a..9a0dfe88b4 100644
--- a/.github/workflows/mobile.yml
+++ b/.github/workflows/mobile.yml
@@ -24,6 +24,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Build mobile APK
uses: ./.github/actions/build-mobile
@@ -35,6 +37,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 5e2b741a65..82fd2b2a59 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -67,6 +67,8 @@ jobs:
runs-on: ${{ matrix.os.image }}
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
@@ -124,6 +126,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Build mobile APK
uses: ./.github/actions/build-mobile
@@ -174,6 +178,8 @@ jobs:
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Run the build
uses: ./.github/actions/build-server
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index bede65faf8..1b5c38c5ab 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -65,6 +65,7 @@ jobs:
steps:
- uses: actions/checkout@v7
with:
+ persist-credentials: false
filter: tree:0
fetch-depth: 0
@@ -120,6 +121,8 @@ jobs:
name: PDF viewer E2E tests
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- uses: actions/setup-node@v7
@@ -160,6 +163,7 @@ jobs:
steps:
- uses: actions/checkout@v7
with:
+ persist-credentials: false
filter: tree:0
fetch-depth: 0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 724343eb12..8c20e3cfca 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,6 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
@@ -66,6 +68,8 @@ jobs:
runs-on: ${{ matrix.os.image }}
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
@@ -114,6 +118,8 @@ jobs:
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- name: Run the build
uses: ./.github/actions/build-server
@@ -138,6 +144,7 @@ jobs:
- uses: actions/checkout@v7
with:
+ persist-credentials: false
sparse-checkout: |
docs/Release Notes
scripts
diff --git a/.github/workflows/sync-readme.yml b/.github/workflows/sync-readme.yml
index 2c419f8ba0..4f8fce5931 100644
--- a/.github/workflows/sync-readme.yml
+++ b/.github/workflows/sync-readme.yml
@@ -41,6 +41,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/update-model-prices.yml b/.github/workflows/update-model-prices.yml
index cc74f00378..0a079931df 100644
--- a/.github/workflows/update-model-prices.yml
+++ b/.github/workflows/update-model-prices.yml
@@ -24,6 +24,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/update-nix-flake.yml b/.github/workflows/update-nix-flake.yml
index aca339773a..c1d71314c5 100644
--- a/.github/workflows/update-nix-flake.yml
+++ b/.github/workflows/update-nix-flake.yml
@@ -42,6 +42,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/update-pdfjs-viewer.yml b/.github/workflows/update-pdfjs-viewer.yml
index 5bb267b8b8..c6272f3f1a 100644
--- a/.github/workflows/update-pdfjs-viewer.yml
+++ b/.github/workflows/update-pdfjs-viewer.yml
@@ -41,6 +41,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/web-clipper.yml b/.github/workflows/web-clipper.yml
index b51e3d8718..7528227cd6 100644
--- a/.github/workflows/web-clipper.yml
+++ b/.github/workflows/web-clipper.yml
@@ -32,6 +32,8 @@ jobs:
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index 0d3766d044..2d92babb56 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -27,6 +27,8 @@ jobs:
steps:
- uses: actions/checkout@v7
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Set up node & dependencies
uses: actions/setup-node@v7