From 363b9ccca8492d45366d4719db6046c897a522dc Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Fri, 21 Feb 2025 07:06:20 -0700 Subject: [PATCH] ci: add workflow `timeout-minutes` --- .github/workflows/deploy-clean.yml | 1 + .github/workflows/deploy-docker-dockerhub.yml | 3 +++ .github/workflows/deploy-docker-github.yml | 3 +++ .github/workflows/issues-scan.yml | 1 + 4 files changed, 8 insertions(+) diff --git a/.github/workflows/deploy-clean.yml b/.github/workflows/deploy-clean.yml index 49a60c81..6ad122ce 100644 --- a/.github/workflows/deploy-clean.yml +++ b/.github/workflows/deploy-clean.yml @@ -125,6 +125,7 @@ env: jobs: cleanup: runs-on: ubuntu-latest + timeout-minutes: 20 permissions: write-all steps: diff --git a/.github/workflows/deploy-docker-dockerhub.yml b/.github/workflows/deploy-docker-dockerhub.yml index 0039887a..1e710897 100644 --- a/.github/workflows/deploy-docker-dockerhub.yml +++ b/.github/workflows/deploy-docker-dockerhub.yml @@ -138,6 +138,7 @@ jobs: name: >- 📦 Release › Create Tag runs-on: ubuntu-latest + timeout-minutes: 5 permissions: contents: write packages: write @@ -207,6 +208,7 @@ jobs: name: >- 📦 Release › Dockerhub › Arm64 runs-on: ubuntu-latest + timeout-minutes: 10 needs: [ job-docker-release-tags-create ] permissions: contents: write @@ -447,6 +449,7 @@ jobs: name: >- 📦 Release › Dockerhub › Amd64 runs-on: ubuntu-latest + timeout-minutes: 10 permissions: contents: write packages: write diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 492ffdb5..88aa5f1e 100644 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -138,6 +138,7 @@ jobs: name: >- 📦 Release › Create Tag runs-on: ubuntu-latest + timeout-minutes: 5 permissions: contents: write packages: write @@ -207,6 +208,7 @@ jobs: name: >- 📦 Release › Github › Arm64 runs-on: ubuntu-latest + timeout-minutes: 10 needs: [ job-docker-release-tags-create ] permissions: contents: write @@ -445,6 +447,7 @@ jobs: name: >- 📦 Release › Github › Amd64 runs-on: ubuntu-latest + timeout-minutes: 10 permissions: contents: write packages: write diff --git a/.github/workflows/issues-scan.yml b/.github/workflows/issues-scan.yml index 40e21f29..6922745e 100644 --- a/.github/workflows/issues-scan.yml +++ b/.github/workflows/issues-scan.yml @@ -115,6 +115,7 @@ jobs: pr-autoscan: runs-on: ubuntu-latest + timeout-minutes: 10 permissions: contents: read actions: read