mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-23 09:04:21 +00:00
workflow: Update actions/github-script to v9 (#1016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
dde1354d36
commit
8f46da6630
2
.github/workflows/pr-status-label-new.yml
vendored
2
.github/workflows/pr-status-label-new.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
if: github.event_name == 'pull_request_target' && github.event.action == 'opened'
|
||||
steps:
|
||||
- name: Label new PR as "status:waiting for review"
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
github.rest.issues.addLabels({
|
||||
|
|
|
|||
4
.github/workflows/pr-status-label-review.yml
vendored
4
.github/workflows/pr-status-label-review.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Download artifact'
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
|
||||
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
run: unzip "${{ runner.temp }}/artifacts/review-event.zip" -d "${{ runner.temp }}/artifacts"
|
||||
|
||||
- name: Update status labels based on review
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Promote approved PRs to "ready to merge"
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const owner = context.repo.owner
|
||||
|
|
|
|||
Loading…
Reference in a new issue