Skip to content

The Open Source DocuSign Alternative.

chore: add github action timeouts (#3228)

David Nguyen9bab1cddb319
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 55ed7f27d..e3b1007da 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,6 +15,7 @@ jobs:
build_app:
name: Build App
runs-on: ubuntu-latest
+ timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -32,6 +33,7 @@ jobs:
build_docker:
name: Build Docker Image
runs-on: ubuntu-latest
+ timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index d74f30387..b5ac9017a 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -11,6 +11,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
+ timeout-minutes: 60
permissions:
actions: read
contents: read
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 80d188964..00132070d 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -8,6 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
+ timeout-minutes: 60
steps:
- name: Checkout code
diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml
index 34d7a478f..d8589bf1b 100644
--- a/.github/workflows/issue-labeler.yml
+++ b/.github/workflows/issue-labeler.yml
@@ -7,6 +7,7 @@ on:
jobs:
label-when-assigned:
runs-on: ubuntu-latest
+ timeout-minutes: 10
steps:
- name: Label issue
uses: actions/github-script@v6
diff --git a/.github/workflows/issue-opened.yml b/.github/workflows/issue-opened.yml
index 92b559d11..fd4a60151 100644
--- a/.github/workflows/issue-opened.yml
+++ b/.github/workflows/issue-opened.yml
@@ -7,6 +7,7 @@ on:
jobs:
label_issues:
runs-on: ubuntu-latest
+ timeout-minutes: 10
permissions:
issues: write
steps:
diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml
index 15fe7cbfa..5c3eeaac2 100644
--- a/.github/workflows/pr-labeler.yml
+++ b/.github/workflows/pr-labeler.yml
@@ -13,6 +13,7 @@ jobs:
contents: read
pull-requests: write
runs-on: ubuntu-latest
+ timeout-minutes: 10
steps:
- uses: actions/labeler@v4
with:
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 50137d2e1..f28fc4e1f 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -14,6 +14,7 @@ jobs:
build_and_publish_platform_containers:
name: Build and publish platform containers
runs-on: ${{ matrix.os }}
+ timeout-minutes: 60
strategy:
fail-fast: false
matrix:
@@ -78,6 +79,7 @@ jobs:
create_and_publish_manifest:
name: Create and publish manifest
runs-on: ubuntu-latest
+ timeout-minutes: 60
needs: build_and_publish_platform_containers
steps:
- name: Checkout
diff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.yml
index 0dab3392d..34e731436 100644
--- a/.github/workflows/semantic-pull-requests.yml
+++ b/.github/workflows/semantic-pull-requests.yml
@@ -15,6 +15,7 @@ jobs:
validate-pr:
name: Validate PR title
runs-on: ubuntu-latest
+ timeout-minutes: 10
steps:
- uses: amannn/action-semantic-pull-request@v5
id: lint_pr_title
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index c9c12ce59..aed53da8c 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -7,6 +7,7 @@ on:
jobs:
stale:
runs-on: ubuntu-latest
+ timeout-minutes: 10
permissions:
issues: write
pull-requests: write
diff --git a/.github/workflows/translations-force-pull.yml b/.github/workflows/translations-force-pull.yml
index 5d804df63..b0893a2aa 100644
--- a/.github/workflows/translations-force-pull.yml
+++ b/.github/workflows/translations-force-pull.yml
@@ -18,6 +18,7 @@ jobs:
pull_translations:
name: Force pull translations
runs-on: ubuntu-latest
+ timeout-minutes: 10
environment: Translations
permissions:
contents: write
diff --git a/.github/workflows/translations-pull.yml b/.github/workflows/translations-pull.yml
index 0e3703438..ea65548f2 100644
--- a/.github/workflows/translations-pull.yml
+++ b/.github/workflows/translations-pull.yml
@@ -16,6 +16,7 @@ jobs:
pull_translations:
name: Pull translations
runs-on: ubuntu-latest
+ timeout-minutes: 10
environment: Translations
permissions:
contents: write
diff --git a/.github/workflows/translations-upload.yml b/.github/workflows/translations-upload.yml
index 0e80def07..b81b6375f 100644
--- a/.github/workflows/translations-upload.yml
+++ b/.github/workflows/translations-upload.yml
@@ -14,6 +14,7 @@ jobs:
extract_translations:
name: Extract and upload translations
runs-on: ubuntu-latest
+ timeout-minutes: 30
environment: Translations
permissions:
contents: write