Skip to content

Commit

Permalink
patch: Add time limit to jobs (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical authored Mar 2, 2023
1 parent 1fdc48f commit ed705f0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/__check_pr_title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
check-pr-prefix:
name: Check PR prefix
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/__release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_get_workflow_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
get-version:
name: Get workflow version
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Install pyyaml
run: python3 -m pip install pyyaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_charms_with_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
needs:
- get-workflow-version
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Install pyyaml
run: python3 -m pip install pyyaml
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
needs:
- collect-charms
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sync_issue_to_jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
name: Create Jira issue
if: ${{ github.event.action == 'opened' }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Login to Jira API
uses: atlassian/gajira-login@v3
Expand Down Expand Up @@ -90,6 +91,7 @@ jobs:
name: Update Jira issue
if: ${{ github.event.action != 'opened' }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Get Jira issue key
id: get-jira-issue-key
Expand Down

0 comments on commit ed705f0

Please sign in to comment.