mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test Tools: Adjustments as a follow up to [51921].
This adjusts the syntax for using the `github-scripts` action. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@51922 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cbf2a1968f
commit
caec0f8b4c
6
.github/workflows/slack-notifications.yml
vendored
6
.github/workflows/slack-notifications.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0
|
||||
with:
|
||||
script: |
|
||||
const workflow_run = await github.actions.getWorkflowRun({
|
||||
const workflow_run = await github.rest.actions.getWorkflowRun({
|
||||
owner: '${{ github.repository_owner }}',
|
||||
repo: 'wordpress-develop',
|
||||
run_id: ${{ github.run_id }},
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0
|
||||
with:
|
||||
script: |
|
||||
const workflow_run = await github.actions.getWorkflowRun({
|
||||
const workflow_run = await github.rest.actions.getWorkflowRun({
|
||||
owner: '${{ github.repository_owner }}',
|
||||
repo: 'wordpress-develop',
|
||||
run_id: ${{ github.run_id }},
|
||||
@ -56,7 +56,7 @@ jobs:
|
||||
uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0
|
||||
with:
|
||||
script: |
|
||||
const previous_runs = await github.actions.listWorkflowRuns({
|
||||
const previous_runs = await github.rest.actions.listWorkflowRuns({
|
||||
owner: '${{ github.repository_owner }}',
|
||||
repo: 'wordpress-develop',
|
||||
workflow_id: ${{ steps.current-workflow-id.outputs.result }},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user