Skip to content

Commit

Permalink
Do not fail CI for appropriately skipped branch
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Lane <[email protected]>
  • Loading branch information
rick-a-lane-ii committed Jun 25, 2024
1 parent 94fa0f7 commit 682ec46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' && github.ref != 'refs/heads/master'
run: |
if [[ "${{ steps.changed-by-dependabot2.outputs.license_information_committed }}" != 'true' ]]; then
echo "::error:: Action indicates that the repo was not dirty"
Expand Down

0 comments on commit 682ec46

Please sign in to comment.