Skip to content

Commit

Permalink
add timeout minutes to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
riscait committed Dec 16, 2023
1 parent d7daa65 commit dc9e94b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/assign-author-to-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
pull_request:
types: [opened]
jobs:
assignAuthor:
assign:
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/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 @@ -42,6 +43,7 @@ jobs:
needs: check
if: ${{ needs.check.outputs.flutter == 'true' && github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -64,6 +66,7 @@ jobs:
needs: check
if: needs.check.outputs.flutter == 'true'
runs-on: ubuntu-latest
timeout-minutes: 15
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: 5
steps:
- uses: actions/checkout@v4
- name: Download actionlint
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
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
// Even if the completion list is not displayed, pressing <TAB> will complete snippets like `for`.
"editor.tabCompletion": "onlySnippets",
// Disable the behavior where code completion suggests words during editing of comments or strings.
"editor.wordBasedSuggestions": false,
"editor.wordBasedSuggestions": "off",
// Code actions executed upon file save.
"editor.codeActionsOnSave": {
// Insert a semicolon.
Expand Down

0 comments on commit dc9e94b

Please sign in to comment.