From e0c5eb0e1dfca683306a419ad463c4327fbbddca Mon Sep 17 00:00:00 2001 From: Ranjan Mohanty Date: Sun, 15 Nov 2026 23:10:15 +0100 Subject: [PATCH 1/2] Add whatbroke: explain failed CI runs on the PR Co-Authored-By: Claude Opus 5.5 --- .github/workflows/whatbroke.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/whatbroke.yml diff --git a/.github/workflows/whatbroke.yml b/.github/workflows/whatbroke.yml new file mode 100644 index 0000000..bf91fe4 --- /dev/null +++ b/.github/workflows/whatbroke.yml @@ -0,0 +1,19 @@ +# When CI fails, whatbroke comments on the pull request with the log lines that weren't in the +# last passing run. https://github.com/mintwork/whatbroke +name: whatbroke + +on: + workflow_run: + workflows: [CI] + types: [completed] + +permissions: + actions: read + pull-requests: write + +jobs: + explain: + if: github.event.workflow_run.conclusion == 'failure' + runs-on: ubuntu-26.04 + steps: + - uses: mintwork/whatbroke@v0 From 7e7719aa2472c5984e0920ed8ab4f7b3b05b13af Mon Sep 17 00:00:00 2001 From: Ranjan Mohanty Date: Mon, 16 Nov 2026 00:01:08 +0100 Subject: [PATCH 2/2] whatbroke: pin the action to v0.1.2's full commit SHA Co-Authored-By: Claude Opus 5.5 --- .github/workflows/whatbroke.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/whatbroke.yml b/.github/workflows/whatbroke.yml index bf91fe4..0ae95df 100644 --- a/.github/workflows/whatbroke.yml +++ b/.github/workflows/whatbroke.yml @@ -16,4 +16,5 @@ jobs: if: github.event.workflow_run.conclusion == 'failure' runs-on: ubuntu-26.04 steps: - - uses: mintwork/whatbroke@v0 + # Pinned to a full commit SHA (immutable); bump it for new releases. + - uses: mintwork/whatbroke@f55b72dc7d23682626140a19c8fa82a6a185c219 # v0.1.2