Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: revert to using secrets.GH_TOKEN in update.yml #826

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
matrix:
dependency: ['swipl', 'emsdk', 'zlib', 'pcre2']

permissions:
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -67,4 +63,8 @@ jobs:
fi
fi
env:
GH_TOKEN: ${{ github.token }}
# You may be tempted to make this github.token, this won't work
# because GH Actions does not trigger workflows on github.token
# in order to avoid recursive workflows.
# See: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Loading