Skip to content
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

ci: add timeouts to all GHA workflows #404

Merged
merged 3 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
create-release-candidate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/create-release-candidate-v1@main
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/semantic-pr-footer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ on:
jobs:
semantic-pr-footer:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/semantic-pr-footer-v1@main
1 change: 1 addition & 0 deletions .github/workflows/semantic-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ on:
jobs:
semantic-pr-title:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/semantic-pr-title@v1
1 change: 1 addition & 0 deletions .github/workflows/sync-master-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
create_sync_pull_request:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/action-sync-branches@v1
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: Tests

on:
push:
branches:
- "**" # all branches
- "!master" # except master
- "!develop" # except develop
on: push
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow our new GHA policy


jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Cache npm dependencies
Expand Down Expand Up @@ -48,6 +44,7 @@ jobs:
license-check:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v4
- name: Maven compile licenses
Expand All @@ -60,6 +57,7 @@ jobs:
playwright-tests:
needs: [license-check, build]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
Expand All @@ -85,6 +83,7 @@ jobs:

selenium-tests:
needs: [license-check, build]
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-axe-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
Loading