From 5f4cc52f77e054d0c2afb75c1369b76896115caa Mon Sep 17 00:00:00 2001 From: Devon Powell Date: Tue, 7 Apr 2026 09:50:37 -0400 Subject: [PATCH 1/2] Fail checks if changes found --- .github/workflows/pull-request.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4232df50..5c05cb0a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -41,6 +41,7 @@ jobs: PR_NUMBER: ${{github.event.pull_request.number}} - name: Push changes uses: peter-evans/create-pull-request@v8.1.0 + id: changes with: token: ${{github.token}} commit-message: ${{steps.info.outputs.title}} @@ -56,6 +57,13 @@ jobs: labels: | dependencies auto + - name: Report status + if: > + steps.changes.outputs.pull-request-operation == 'created' || + steps.changes.outputs.pull-request-operation == 'updated' + uses: actions/github-script@v8.0.0 + with: + script: core.setFailed('Build changes detected') check-formatting-all: name: Check Formatting (All) runs-on: ubuntu-latest From 5b61f5f4b47a268c89847c558b3fa721083f5a0d Mon Sep 17 00:00:00 2001 From: Devon Powell Date: Tue, 7 Apr 2026 09:52:14 -0400 Subject: [PATCH 2/2] Remove trailing white-space --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5c05cb0a..6c762e9f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -41,7 +41,7 @@ jobs: PR_NUMBER: ${{github.event.pull_request.number}} - name: Push changes uses: peter-evans/create-pull-request@v8.1.0 - id: changes + id: changes with: token: ${{github.token}} commit-message: ${{steps.info.outputs.title}}