Skip to content

Commit 032ac45

Browse files
alxndrsnSourceR85
andauthored
ci: disable checkout.persist-credentials (#8882)
See: actions/checkout#485 Co-authored-by: alxndrsn <alxndrsn> Co-authored-by: Steven <SourceR85@users.noreply.github.com>
1 parent 799c564 commit 032ac45

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28+
with:
29+
persist-credentials: false
2830
- uses: ./.github/actions/install-node-package
2931
with:
3032
node-version: ${{ env.NODE_VERSION }}
@@ -36,6 +38,8 @@ jobs:
3638
runs-on: ubuntu-latest
3739
steps:
3840
- uses: actions/checkout@v4
41+
with:
42+
persist-credentials: false
3943
- run: sudo apt-get install shellcheck
4044
- run: git ls-files '*.sh' | xargs shellcheck
4145

@@ -62,6 +66,8 @@ jobs:
6266
SKIP_MIGRATION: 1
6367
steps:
6468
- uses: actions/checkout@v4
69+
with:
70+
persist-credentials: false
6571
- uses: ./.github/actions/install-node-package
6672
with:
6773
node-version: ${{ matrix.node }}
@@ -105,6 +111,8 @@ jobs:
105111
SKIP_MIGRATION: 1
106112
steps:
107113
- uses: actions/checkout@v4
114+
with:
115+
persist-credentials: false
108116
- uses: ./.github/actions/install-node-package
109117
with:
110118
node-version: ${{ env.NODE_VERSION }}
@@ -146,6 +154,8 @@ jobs:
146154
ADAPTERS: ${{ matrix.adapter }}
147155
steps:
148156
- uses: actions/checkout@v4
157+
with:
158+
persist-credentials: false
149159
- uses: ./.github/actions/install-node-package
150160
with:
151161
node-version: ${{ matrix.node }}
@@ -184,6 +194,8 @@ jobs:
184194
ADAPTERS: ${{ matrix.adapter }}
185195
steps:
186196
- uses: actions/checkout@v4
197+
with:
198+
persist-credentials: false
187199
- uses: ./.github/actions/install-node-package
188200
with:
189201
node-version: ${{ env.NODE_VERSION }}
@@ -223,6 +235,8 @@ jobs:
223235
SERVER: pouchdb-server
224236
steps:
225237
- uses: actions/checkout@v4
238+
with:
239+
persist-credentials: false
226240
- uses: ./.github/actions/install-node-package
227241
with:
228242
node-version: ${{ env.NODE_VERSION }}
@@ -262,6 +276,8 @@ jobs:
262276
runs-on: ubuntu-latest
263277
steps:
264278
- uses: actions/checkout@v4
279+
with:
280+
persist-credentials: false
265281
- uses: ./.github/actions/install-node-package
266282
with:
267283
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-node-package
2426
with:
2527
node-version: 14

0 commit comments

Comments
 (0)