From bb82381c7e0effccd246aa61f0f04aa9f6f27d96 Mon Sep 17 00:00:00 2001 From: Tom Whitwell Date: Thu, 29 Oct 2026 13:15:48 +0000 Subject: [PATCH 1/2] Add a weekly CI digest There is no view of how often CI fails or slows down over time, so this runs a weekly summary by calling the shared workflow in forms-deploy. It is a dry run for now: the digest goes to the job summary, not Slack. --- .github/workflows/ci-digest.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci-digest.yml diff --git a/.github/workflows/ci-digest.yml b/.github/workflows/ci-digest.yml new file mode 100644 index 0000000..2350bff --- /dev/null +++ b/.github/workflows/ci-digest.yml @@ -0,0 +1,24 @@ +name: "CI digest" + +# Weekly summary of how often this repo's workflows fail and how long they take, +# compared with the previous 12 weeks. The logic is in forms-deploy. +# +# For now it is a dry run: the digest goes to the job summary and nothing is +# posted to Slack. See reusable-ci-digest.yml in forms-deploy for how to go live. + +on: + schedule: + - cron: "27 8 * * 1" # Mondays, around 09:00 UK time + workflow_dispatch: + +permissions: {} + +jobs: + digest: + name: "CI digest" + permissions: + actions: read + contents: read + uses: govuk-forms/forms-deploy/.github/workflows/reusable-ci-digest.yml@main + secrets: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_GOVUK_FORMS_DEPLOYMENTS }} From 957703d8b947cb54b7f26b368a1895a0f574ed43 Mon Sep 17 00:00:00 2001 From: Tom Whitwell Date: Tue, 20 Oct 2026 13:39:31 +0100 Subject: [PATCH 2/2] Set timeout on the test job A hung job otherwise runs for GitHub's six hour default. Recent runs finish in under a minute, so 15 minutes only catches hangs. --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3fa3e7..b226791 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,7 @@ permissions: jobs: test: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - name: Checkout code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1