From b3628409f7f061e4979b866a18109d4e34b14856 Mon Sep 17 00:00:00 2001 From: Rick Lane Date: Tue, 25 Jun 2024 10:03:20 -0400 Subject: [PATCH] Do not fail CI for appropriately skipped branch Signed-off-by: Rick Lane --- .github/workflows/test-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 3c73b8a..a12235f 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -71,7 +71,7 @@ jobs: push_changes: false - name: "Check that action committed changes to the repository" - if: github.ref_type == 'branch' + if: github.ref_type == 'branch' && !contains(github.ref, 'master') run: | if [[ "${{ steps.changed-by-dependabot2.outputs.license_information_committed }}" != 'true' ]]; then echo "::error:: Action indicates that the repo was not dirty"