fix: test for since last remote commit check on pull_request closed (#2295)
This commit is contained in:
parent
e21f1a3077
commit
e753fb0a63
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user