Skip to content

Commit 0e664a6

Browse files
author
alxndrsn
committed
ci: disable checkout.persist-credentials
See: actions/checkout#485
1 parent 1f58173 commit 0e664a6

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
26+
with:
27+
persist-credentials: false
2628
- uses: ./.github/actions/install-deps
2729
with:
2830
node-version: ${{ env.NODE_VERSION }}
@@ -32,6 +34,8 @@ jobs:
3234
runs-on: ubuntu-latest
3335
steps:
3436
- uses: actions/checkout@v4
37+
with:
38+
persist-credentials: false
3539
- run: sudo apt-get install shellcheck
3640
- run: git ls-files '*.sh' | xargs shellcheck
3741

@@ -58,6 +62,8 @@ jobs:
5862
SKIP_MIGRATION: 1
5963
steps:
6064
- uses: actions/checkout@v4
65+
with:
66+
persist-credentials: false
6167
- uses: ./.github/actions/install-deps
6268
with:
6369
node-version: ${{ matrix.node }}
@@ -98,6 +104,8 @@ jobs:
98104
SKIP_MIGRATION: 1
99105
steps:
100106
- uses: actions/checkout@v4
107+
with:
108+
persist-credentials: false
101109
- uses: ./.github/actions/install-deps
102110
with:
103111
node-version: ${{ env.NODE_VERSION }}
@@ -135,6 +143,8 @@ jobs:
135143
ADAPTERS: ${{ matrix.adapter }}
136144
steps:
137145
- uses: actions/checkout@v4
146+
with:
147+
persist-credentials: false
138148
- uses: ./.github/actions/install-deps
139149
with:
140150
node-version: ${{ matrix.node }}
@@ -172,6 +182,8 @@ jobs:
172182
ADAPTERS: ${{ matrix.adapter }}
173183
steps:
174184
- uses: actions/checkout@v4
185+
with:
186+
persist-credentials: false
175187
- uses: ./.github/actions/install-deps
176188
with:
177189
node-version: ${{ env.NODE_VERSION }}
@@ -209,6 +221,8 @@ jobs:
209221
SERVER: pouchdb-server
210222
steps:
211223
- uses: actions/checkout@v4
224+
with:
225+
persist-credentials: false
212226
- uses: ./.github/actions/install-deps
213227
with:
214228
node-version: ${{ env.NODE_VERSION }}
@@ -245,6 +259,8 @@ jobs:
245259
runs-on: ubuntu-latest
246260
steps:
247261
- uses: actions/checkout@v4
262+
with:
263+
persist-credentials: false
248264
- uses: ./.github/actions/install-deps
249265
with:
250266
node-version: ${{ matrix.node }}

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23+
with:
24+
persist-credentials: false
2325
- uses: ./.github/actions/install-deps
2426
- uses: ruby/setup-ruby@v1
2527
with:

0 commit comments

Comments
 (0)