Skip to content

Commit 43127b1

Browse files
committed
chore(ci): do not persist credentials on checkout
1 parent cb20c3f commit 43127b1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/check-tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
contents: read
1515
steps:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
with:
18+
persist-credentials: false
1719
- name: Run checks
1820
run: |
1921
grep -P --color=always "\s+(?<=rev: )$GITHUB_REF_NAME$" README.md

.github/workflows/check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
contents: read
1616
steps:
1717
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
with:
19+
persist-credentials: false
1820
# No caching as we're expected to run rarely
1921
- name: Install dependencies and run checks
2022
run: |

0 commit comments

Comments
 (0)