From 80c892757c53268a24ccd60f2d004aeb128b0f16 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Fri, 27 Nov 2026 17:43:45 +0100 Subject: [PATCH 1/3] ci(repo): give every job a timeout Twelve jobs fell back to GitHub's six-hour default, eight of them on the static-IP runners billed per minute. Each limit is several times the job's longest recent run. Checkout steps also share one name now. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/beta_version_analyze.yml | 1 + .github/workflows/pana.yml | 9 ++++++--- .github/workflows/pr_title.yml | 3 +++ .github/workflows/release_publish.yml | 3 ++- .github/workflows/release_tag.yml | 3 ++- .github/workflows/sync_style_guides.yml | 6 ++++-- .github/workflows/update_top_level_domains.yml | 3 ++- 7 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.github/workflows/beta_version_analyze.yml b/.github/workflows/beta_version_analyze.yml index 31057398..b47f6e0f 100644 --- a/.github/workflows/beta_version_analyze.yml +++ b/.github/workflows/beta_version_analyze.yml @@ -35,6 +35,7 @@ jobs: name: Slack Report runs-on: group: github-public-amd64 + timeout-minutes: 5 needs: [analyze_beta_versions] if: failure() && github.event_name == 'schedule' steps: diff --git a/.github/workflows/pana.yml b/.github/workflows/pana.yml index 368170ed..74424595 100644 --- a/.github/workflows/pana.yml +++ b/.github/workflows/pana.yml @@ -18,8 +18,9 @@ permissions: jobs: stream_core: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - - name: 📚 Git Checkout + - name: 📚 Checkout uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: persist-credentials: false @@ -31,8 +32,9 @@ jobs: stream_core_flutter: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - - name: 📚 Git Checkout + - name: 📚 Checkout uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: persist-credentials: false @@ -44,8 +46,9 @@ jobs: stream_thumbnail: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - - name: 📚 Git Checkout + - name: 📚 Checkout uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: persist-credentials: false diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index a5c04420..3d0c4706 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -24,6 +24,7 @@ jobs: conventional_pr_title: runs-on: group: github-public-amd64 + timeout-minutes: 5 steps: - name: 🏷️ Check PR Title uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 @@ -41,6 +42,7 @@ jobs: needs: conventional_pr_title # Trigger after the [conventional_pr_title] completes runs-on: group: github-public-amd64 + timeout-minutes: 5 steps: - name: 📝 Check Changelog Update uses: GetStream/verify-semantic-changelog-update@566b49e5ce5f180280336053428f7e2338a4d496 # v1.1.0 @@ -61,6 +63,7 @@ jobs: name: Check Changelog Placement runs-on: group: github-public-amd64 + timeout-minutes: 5 steps: - name: 📝 Check Changelog Placement uses: GetStream/verify-semantic-changelog-update/placement@566b49e5ce5f180280336053428f7e2338a4d496 # v1.1.0 diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index 9cf41ddb..db99dbce 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -27,8 +27,9 @@ jobs: id-token: write # OIDC auth to pub.dev runs-on: group: github-public-amd64 + timeout-minutes: 20 steps: - - name: 📚 Checkout branch + - name: 📚 Checkout # Default GITHUB_TOKEN: this job never pushes to git (the release step # passes its own token), so no bot PAT sits in git config during setup. uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 diff --git a/.github/workflows/release_tag.yml b/.github/workflows/release_tag.yml index c6f87baa..dfe05627 100644 --- a/.github/workflows/release_tag.yml +++ b/.github/workflows/release_tag.yml @@ -18,6 +18,7 @@ jobs: if: "${{ github.event_name == 'workflow_dispatch' || (startsWith(github.event.head_commit.message, 'chore(') && contains(github.event.head_commit.message, '): release')) }}" runs-on: group: github-public-amd64 + timeout-minutes: 10 permissions: contents: write steps: @@ -28,7 +29,7 @@ jobs: client-id: ${{ vars.FLUTTER_CI_BOT_CLIENT_ID }} private-key: ${{ secrets.FLUTTER_CI_BOT_PRIVATE_KEY }} - - name: 📚 Checkout branch + - name: 📚 Checkout # CI bot app token: GITHUB_TOKEN tag pushes don't trigger the publish workflow. uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: diff --git a/.github/workflows/sync_style_guides.yml b/.github/workflows/sync_style_guides.yml index d091cb94..c062bdf4 100644 --- a/.github/workflows/sync_style_guides.yml +++ b/.github/workflows/sync_style_guides.yml @@ -32,8 +32,9 @@ jobs: check: name: Check Guide Links runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - name: 📚 Git Checkout + - name: 📚 Checkout uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: persist-credentials: false @@ -52,6 +53,7 @@ jobs: needs: check runs-on: group: github-public-amd64 + timeout-minutes: 10 strategy: fail-fast: false matrix: @@ -63,7 +65,7 @@ jobs: - repository: stream-feeds-flutter branch: main steps: - - name: 📚 Git Checkout + - name: 📚 Checkout uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: persist-credentials: false diff --git a/.github/workflows/update_top_level_domains.yml b/.github/workflows/update_top_level_domains.yml index fe80474e..b149ba27 100644 --- a/.github/workflows/update_top_level_domains.yml +++ b/.github/workflows/update_top_level_domains.yml @@ -14,8 +14,9 @@ jobs: name: Update Top-Level Domains runs-on: group: github-public-amd64 + timeout-minutes: 10 steps: - - name: 📚 Git Checkout + - name: 📚 Checkout uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: persist-credentials: false From e788c5463a4bb609d4c28c5d992587fd181021ed Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Fri, 27 Nov 2026 17:48:00 +0100 Subject: [PATCH 2/3] ci(repo): title Dependabot's pull requests with an allowed scope The PR-title check accepts the llc, ui, repo and thumb scopes, so `chore(deps)` failed it. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 99fae81a..01714ae7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,4 +17,4 @@ updates: all-actions: patterns: ["*"] commit-message: - prefix: "chore(deps)" + prefix: "chore(repo)" From d95237cbf66fc4f1908fa0ba1c72cc428bd61227 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Fri, 27 Nov 2026 17:49:19 +0100 Subject: [PATCH 3/3] ci(repo): use the ci type for Dependabot's action bumps They only change CI configuration, which this repository commits as ci(repo). Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 01714ae7..e1111de8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,4 +17,4 @@ updates: all-actions: patterns: ["*"] commit-message: - prefix: "chore(repo)" + prefix: "ci(repo)"