github/workflows: revert to github-script@v6

There is an upstream regression in v7. Use v6 until Node 16 is still
available.

See: https://github.com/actions/github-script/issues/448
This commit is contained in:
Kacper Michajłow 2024-02-03 17:21:54 +01:00 committed by sfan5
parent b23e8b2ffb
commit 7616190aa4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
- uses: actions/github-script@v6
with:
script: |
const { owner, repo } = context.repo;