Use a dedicated access token instead of the runner-generated one.

This commit is contained in:
greem 2026-05-05 08:07:38 +00:00
parent b0179e6433
commit 722eb93554

View file

@ -211,9 +211,11 @@ jobs:
- build_macos
steps:
- uses: actions/github-script@v9
env:
COMMENTER_TOKEN: ${{ secrets.COMMENTER_TOKEN }}
with:
script: |
const forgejo = getOctokit(process.env.FORGEJO_TOKEN, {
const forgejo = getOctokit(process.env.COMMENTER_TOKEN, {
baseUrl: 'https://git.ryujinx.app/api/v1'
});