Skip to content

Commit 5d1fc4d

Browse files
authored
Remove redundant GitHub token
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 3a7bc05 commit 5d1fc4d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/update-releases.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ on:
66
# - cron: "15 * * * *" # every hour at :15
77
- cron: "15 9 * * *" # every day at 09:15 UTC
88

9-
permissions:
10-
contents: write # needed to commit updates to releases.json
11-
129
jobs:
1310
update:
1411
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write # needed to commit updates to releases.json
1514

1615
strategy:
1716
max-parallel: 1
@@ -52,19 +51,13 @@ jobs:
5251
- aboutcode-org/www.aboutcode.org
5352
# Add more repos here
5453

55-
env:
56-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
GITHUB_TOKEN: ${{ secrets.GH_REPO_POLLING }}
58-
5954
steps:
60-
6155
# 1 Checkout the target repo (Repo B)
6256
- name: Checkout repository
6357
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6458
with:
6559
ref: main
6660
fetch-depth: 0
67-
token: ${{ secrets.GH_REPO_POLLING }}
6861

6962
# 2 Debug: show which repo is being processed
7063
- name: Debug - current repo

0 commit comments

Comments
 (0)