mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-28 13:11:58 +00:00
go back to v6
This commit is contained in:
parent
aeda338984
commit
f3ed68a359
1 changed files with 3 additions and 3 deletions
6
.github/workflows/update-pr-artifacts.yml
vendored
6
.github/workflows/update-pr-artifacts.yml
vendored
|
|
@ -12,14 +12,14 @@ jobs:
|
|||
steps:
|
||||
- name: Get PR Number
|
||||
id: pr-number
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
const { owner, repo } = context.repo;
|
||||
|
||||
const findPRNumber = async () => {
|
||||
const pulls = await github.rest.pulls.list.endpoint.merge({ owner, repo });
|
||||
const pulls = await github.rest.pulls.list({ owner, repo });
|
||||
for await (const { data } of github.paginate.iterator(pulls)) {
|
||||
for (const pull of data) {
|
||||
if (pull.head.sha === '${{ github.event.workflow_run.head_sha }}' && pull.user.id === '${{ github.event.sender.id }}') {
|
||||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
}
|
||||
- name: Create Artifacts Content
|
||||
id: artifacts-content
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue