Skip to content

Commit

Permalink
ci: add GitHub Action timeouts (#348)
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Miglinci <pmig@glasskube.com>
  • Loading branch information
pmig authored Jan 23, 2025
1 parent cf30e4b commit e554fa7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-agent.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Build agent

on:
Expand All @@ -10,6 +12,7 @@ on:

jobs:
build-agent:
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Build server

on:
Expand All @@ -11,6 +13,7 @@ on:
jobs:
build:
name: Build
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-artifacts.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Release Artifacts

on:
Expand All @@ -8,6 +10,7 @@ on:
jobs:
build:
name: Upload deploy-docker.tar.bz2
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
release-please:
timeout-minutes: 1
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/semantic-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Check pull request title

on:
Expand All @@ -12,6 +14,7 @@ permissions:

jobs:
semantic-message:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5
Expand Down

0 comments on commit e554fa7

Please sign in to comment.