Skip to content

Commit

Permalink
ci: Add timeout to workflows (#291)
Browse files Browse the repository at this point in the history
* ci: add timeout to workflows

* ci: update dependency schedule to weekly

* Update timeout minutes in Flutter app code check
  • Loading branch information
riscait authored Dec 18, 2023
1 parent ce6bb80 commit 4e74377
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
interval: "weekly"

- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "monthly"
interval: "weekly"

- package-ecosystem: "pub"
directory: "/packages/amazon_paapi"
Expand All @@ -25,7 +25,7 @@ updates:
- package-ecosystem: "pub"
directory: "/packages/flutter_app"
schedule:
interval: "monthly"
interval: "weekly"

- package-ecosystem: "pub"
directory: "/packages/rest_api_client"
Expand All @@ -35,7 +35,7 @@ updates:
- package-ecosystem: "pub"
directory: "/packages/themes"
schedule:
interval: "monthly"
interval: "weekly"

- package-ecosystem: "pub"
directory: "/packages/util"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/assign-author-to-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
assignAuthor:
name: Assign author to PR
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Assign author to PR
uses: technote-space/assign-author@v1
3 changes: 3 additions & 0 deletions .github/workflows/flutter-app-code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
flutter: ${{ steps.filter.outputs.flutter }}
steps:
Expand Down Expand Up @@ -43,6 +44,7 @@ jobs:
needs: check
if: ${{ needs.check.outputs.flutter == 'true' && github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -67,6 +69,7 @@ jobs:
needs: check
if: needs.check.outputs.flutter == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-github-actions-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ concurrency:
jobs:
actionlint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Download actionlint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pod-install-for-dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
pod_install:
if: startsWith(github.head_ref, 'dependabot/pub/')
runs-on: macos-latest
timeout-minutes: 10
env:
head_ref: ${{ github.head_ref }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
contents: read
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/labeler@v4
with:
Expand Down

0 comments on commit 4e74377

Please sign in to comment.