Skip to content

Commit

Permalink
chore: remove styfle/cancel-workflow-action usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Apr 26, 2023
1 parent eadf748 commit 48fa936
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ on:
- 'beta'
- 'alpha'
- '!all-contributors/**'
pull_request: {}
pull_request:

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

permissions: {}

jobs:
main:
permissions:
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
contents: read # to fetch code (actions/checkout)
# ignore all-contributors PRs
if: ${{ !contains(github.head_ref, 'all-contributors') }}
Expand All @@ -29,9 +32,6 @@ jobs:
node: [14, 16, 18]
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0

- name: ⬇️ Checkout repo
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -63,7 +63,6 @@ jobs:

release:
permissions:
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
contents: write # to create release tags (cycjimmy/semantic-release-action)
issues: write # to post release that resolves an issue

Expand All @@ -73,9 +72,6 @@ jobs:
${{ github.repository == 'testing-library/dom-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@v3

Expand Down

0 comments on commit 48fa936

Please sign in to comment.