0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

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

View File

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