Skip to content

Commit

Permalink
fix: test for since last remote commit check on pull_request closed (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Sep 25, 2024
1 parent e21f1a3 commit e753fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1119,9 +1119,9 @@ jobs:
since_last_remote_commit: true

- name: Verify succeeded pull_request(closed)
if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request'
if: steps.changed-files-since-last-remote-commit.outcome != 'success' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request'
run: |
echo "Expected: (failure) got ${{ steps.changed-files-since-last-remote-commit.outcome }}"
echo "Expected: (success) got ${{ steps.changed-files-since-last-remote-commit.outcome }}"
exit 1
- name: Verify succeeded
Expand Down

0 comments on commit e753fb0

Please sign in to comment.