Skip to content

Commit 2101107

Browse files
authored
Remove unneccessary access token from update workflow
It is not necessary to use a PAT to check out a public repository. Because it is defined, the PAT eventually will expire and the action will stop working. By leaving it at default, the workflow generates a new Github token every time it runs which is enough to check out the repo.
1 parent 3221b1d commit 2101107

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/update.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v5
16-
with:
17-
token: ${{ secrets.REPO_TOKEN }}
1816

1917
- name: Run update script
2018
run: ./update.sh

0 commit comments

Comments
 (0)