From 6ad321887ff86b5adc0631a7b5855903e39bb72e Mon Sep 17 00:00:00 2001 From: Ranjan Mohanty Date: Sun, 15 Nov 2026 23:10:22 +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 6975cfc265da6cc4b228dc4336a74038bc24f4dd Mon Sep 17 00:00:00 2001 From: Ranjan Mohanty Date: Mon, 16 Nov 2026 00:01:10 +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