Skip to content

Commit

Permalink
Add timeout for GitHub jobs (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosiec authored May 15, 2024
1 parent 17a7059 commit 4124cc2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ai-assistant-fetch-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
update-content:
name: Fetch content for OpenAI assistant
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
PURGE_ALL_CONTENT: ${{inputs.purge-all-content}}
BRANCH_NAME: fetch-ai-content-${{ github.run_id }}-${{ github.run_attempt }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ai-assistant-reconfigure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
reconfigure-ai-assistant:
name: Reconfigure OpenAI assistant
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Set environment variables
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/branch-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
build-plugins:
name: Build plugins without publish
runs-on: ubuntu-latest
timeout-minutes: 60
if: github.event_name == 'pull_request'
needs: [lint, test]
steps:
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
release-latest-plugins:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
name: Build and release latest plugins
timeout-minutes: 60
runs-on: ubuntu-latest
needs: [lint, test]
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tag-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
jobs:
release:
name: Release plugins
timeout-minutes: 60
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')

Expand Down

0 comments on commit 4124cc2

Please sign in to comment.