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 timeout to workflows #291

Merged
merged 4 commits into from
Dec 18, 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
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Copy link
Member Author

Choose a reason for hiding this comment

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

メインで使っているものは月から週ごとに変更しました!

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