Skip to content

feat: Implement waitFor #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: alpha
Choose a base branch
from
Next Next commit
chore: remove styfle/cancel-workflow-action usage (#4)
  • Loading branch information
MichaelDeBoey authored Apr 26, 2023
commit 42a93e4b3986611b25b760d99d345b4f95e7361d
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)

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