Skip to content

Commit

Permalink
Merge pull request #681 from tj-actions/fix/668-bug-new-commits-pushe…
Browse files Browse the repository at this point in the history
…d-to-the-base-branch-results-in-errors-when-shallow-history-is-used
  • Loading branch information
jackton1 committed Oct 12, 2022
2 parents 5b1a2fe + 7ed7f59 commit bc00134
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 54 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -138,8 +138,8 @@ jobs:
id: changed-files
continue-on-error: true
uses: ./
- name: Exit with 1 if no error is raised

- name: Exit with 1 if no error is raised and the PR is closed
if: steps.changed-files.outcome != 'failure' && github.event.action == 'closed'
run: |
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
Expand Down

0 comments on commit bc00134

Please sign in to comment.