Make WordPress Core


Ignore:
Timestamp:
08/31/2022 02:29:22 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Correct the context variable being used when auto-retrying failed and cancelled workflows.

The correct variable here is github.run_attempt, which represents the unique number for each attempt of a particular workflow run in a repository.

The github.run_number currently being used represents the unique number for each run of a particular workflow in a repository.

Follow up to [53947].

Fixes #56407.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r53947 r54039  
    183183      github.repository == 'WordPress/wordpress-develop' &&
    184184      github.event_name != 'pull_request' &&
    185       github.run_number < 2 &&
     185      github.run_attempt < 2 &&
    186186      (
    187187        needs.phpcs.result == 'cancelled' || needs.phpcs.result == 'failure' ||
Note: See TracChangeset for help on using the changeset viewer.