Skip to content

Commit 05785fd

Browse files
authored
Updated workflow to use PAT token (#74)
Fixes #73
2 parents 02a6c92 + 23f1e94 commit 05785fd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/sync_roadmap_status.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,15 @@ jobs:
2424
if: github.event_name == 'issues' || github.event_name == 'pull_request_target'
2525
runs-on: ubuntu-latest
2626
steps:
27+
# Uses a PAT (not the default GITHUB_TOKEN) so the later push is
28+
# attributed to an account the ruleset's bypass list actually
29+
# recognizes. The default token authenticates as github-actions[bot],
30+
# which doesn't hold a real repo "Write" role, so role-based bypass
31+
# entries never apply to it no matter how they're configured.
2732
- uses: actions/checkout@v4
2833
with:
2934
ref: main
35+
token: ${{ secrets.ROADMAP_PAT }}
3036

3137
- uses: actions/setup-python@v5
3238
with:
@@ -60,6 +66,7 @@ jobs:
6066
- uses: actions/checkout@v4
6167
with:
6268
ref: main
69+
token: ${{ secrets.ROADMAP_PAT }}
6370

6471
- uses: actions/setup-python@v5
6572
with:

0 commit comments

Comments
 (0)