File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 app-id : ${{ secrets.TESTSPRITE_HOB_APP_ID || secrets.ALFHEIM_AGENT_APP_ID }}
4242 private-key : ${{ secrets.TESTSPRITE_HOB_PRIVATE_KEY || secrets.ALFHEIM_AGENT_PRIVATE_KEY }}
4343
44- - uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.0.1
44+ - uses : actions/github-script@v8
4545 env :
4646 APP_TOKEN : ${{ steps.app-token.outputs.token }}
4747 with :
5151 const marker = process.env.MARKER;
5252
5353 const appClient = process.env.APP_TOKEN
54- ? require('@actions/github'). getOctokit(process.env.APP_TOKEN)
54+ ? getOctokit(process.env.APP_TOKEN)
5555 : null;
5656 async function write(fn) {
5757 if (appClient) {
Original file line number Diff line number Diff line change 4949 # of inheriting the App's full installation permissions.
5050 permission-issues : write
5151
52- - uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.0.1
52+ - uses : actions/github-script@v8
5353 with :
5454 # App token when available (→ testsprite-hob[bot]); else the default
5555 # GITHUB_TOKEN (→ github-actions[bot]). Either way the logic is identical.
Original file line number Diff line number Diff line change 6161 app-id : ${{ secrets.TESTSPRITE_HOB_APP_ID || secrets.ALFHEIM_AGENT_APP_ID }}
6262 private-key : ${{ secrets.TESTSPRITE_HOB_PRIVATE_KEY || secrets.ALFHEIM_AGENT_PRIVATE_KEY }}
6363
64- - uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.0.1
64+ - uses : actions/github-script@v8
6565 env :
6666 APP_TOKEN : ${{ steps.app-token.outputs.token }}
6767 with :
7676 const author = pr.user.login;
7777
7878 const appClient = process.env.APP_TOKEN
79- ? require('@actions/github'). getOctokit(process.env.APP_TOKEN)
79+ ? getOctokit(process.env.APP_TOKEN)
8080 : null;
8181 // Prefer the App identity; fall back to github-actions[bot] when the
8282 // App is absent or lacks the Pull-requests permission (403/404).
You can’t perform that action at this time.
0 commit comments