steps:
- name: Get PR hash
id: sha
- uses: actions/github-script
+ uses: actions/github-script@v7
with:
result-encoding: string
script: |
return pr.data.head.sha
- name: Create pending status check
- uses: actions/github-script
+ uses: actions/github-script@v7
with:
script: |
github.rest.repos.createCommitStatus({
steps:
- name: Get PR hash
id: sha
- uses: actions/github-script
+ uses: actions/github-script@v7
with:
result-encoding: string
script: |
return pr.data.head.sha
- name: Update status
- uses: actions/github-script
+ uses: actions/github-script@v7
with:
script: |
github.rest.repos.createCommitStatus({
steps:
- name: Get PR hash
id: sha
- uses: actions/github-script
+ uses: actions/github-script@v7
with:
result-encoding: string
script: |
return pr.data.head.sha
- name: Update status
- uses: actions/github-script
+ uses: actions/github-script@v7
with:
script: |
github.rest.repos.createCommitStatus({