Skip to content

Commit

Permalink
chore: remove styfle/cancel-workflow-action usage (testing-library#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Apr 26, 2023
1 parent f78839b commit f6c6d96
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ on:
- 'beta'
- 'alpha'
- '!all-contributors/**'
pull_request: {}
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
contents: read # to fetch code (actions/checkout)
Expand All @@ -28,9 +33,6 @@ jobs:
react: [latest, next, experimental]
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0

- name: ⬇️ Checkout repo
uses: actions/checkout@v2

Expand Down Expand Up @@ -73,9 +75,6 @@ jobs:
${{ github.repository == 'testing-library/react-testing-library' &&
github.event_name == 'push' }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0

- name: ⬇️ Checkout repo
uses: actions/checkout@v2

Expand Down

0 comments on commit f6c6d96

Please sign in to comment.