Make WordPress Core

Changeset 51922


Ignore:
Timestamp:
10/20/2021 03:35:13 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Adjustments as a follow up to [51921].

This adjusts the syntax for using the github-scripts action.

See #53363.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/slack-notifications.yml

    r51921 r51922  
    3333        with:
    3434          script: |
    35             const workflow_run = await github.actions.getWorkflowRun({
     35            const workflow_run = await github.rest.actions.getWorkflowRun({
    3636              owner: '${{ github.repository_owner }}',
    3737              repo: 'wordpress-develop',
     
    4545        with:
    4646          script: |
    47             const workflow_run = await github.actions.getWorkflowRun({
     47            const workflow_run = await github.rest.actions.getWorkflowRun({
    4848              owner: '${{ github.repository_owner }}',
    4949              repo: 'wordpress-develop',
     
    5757        with:
    5858          script: |
    59             const previous_runs = await github.actions.listWorkflowRuns({
     59            const previous_runs = await github.rest.actions.listWorkflowRuns({
    6060              owner: '${{ github.repository_owner }}',
    6161              repo: 'wordpress-develop',
Note: See TracChangeset for help on using the changeset viewer.