Skip to content

Commit 9be0235

Browse files
authored
ci(workflows): disable actions/checkout credential persistance (#46)
1 parent f45f7f9 commit 9be0235

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/prod-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ jobs:
171171
with:
172172
repository: mdn/fred
173173
path: mdn/fred
174+
persist-credentials: false
174175

175176
- name: Setup Node.js environment
176177
if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }}

.github/workflows/stage-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ jobs:
194194
with:
195195
repository: mdn/fred
196196
path: mdn/fred
197+
persist-credentials: false
197198

198199
- name: Setup Node.js environment
199200
if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }}

.github/workflows/test-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ jobs:
190190
repository: mdn/fred
191191
path: mdn/fred
192192
ref: ${{ github.event.inputs.fred-ref }}
193+
persist-credentials: false
193194

194195
- name: Setup Node.js environment
195196
if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }}

0 commit comments

Comments
 (0)