From a66719062be0a25134f2eb2c51f0bd96808745a3 Mon Sep 17 00:00:00 2001 From: Jon Clucas Date: Thu, 7 Nov 2024 14:10:47 -0500 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20Simplify=20?= =?UTF-8?q?=F0=9F=9A=AB=F0=9F=91=A4=F0=9F=92=B0=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\253\360\237\221\244\360\237\222\260.yaml" | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git "a/.github/workflows/\360\237\232\253\360\237\221\244\360\237\222\260.yaml" "b/.github/workflows/\360\237\232\253\360\237\221\244\360\237\222\260.yaml" index f08047b..754cd45 100644 --- "a/.github/workflows/\360\237\232\253\360\237\221\244\360\237\222\260.yaml" +++ "b/.github/workflows/\360\237\232\253\360\237\221\244\360\237\222\260.yaml" @@ -1,7 +1,7 @@ name: Check for 👤💰 on: - pull_request_target: + pull_request: jobs: check-for-changes: @@ -9,12 +9,6 @@ jobs: permissions: checks: write steps: - - name: Initiate GitHub Check - uses: LouisBrunner/checks-action@v2.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: "🚫👤💰" - status: in_progress - name: Checkout code uses: actions/checkout@v4.2.2 - name: Get changed files @@ -30,14 +24,5 @@ jobs: CHANGED_FILES: ${{ steps.changed-files.outputs.any_changed }} run: | if [ "${CHANGED_FILES}" = "true" ]; then - echo "conclusion=failure" >> "$GITHUB_OUTPUT" - else - echo "conclusion=success" >> "$GITHUB_OUTPUT" + exit 1 fi - - name: Finalize GitHub Check - uses: LouisBrunner/checks-action@v2.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: "🚫👤💰" - status: completed - conclusion: ${{ steps.workflow-changes.outputs.conclusion }}