fix: test for since last remote commit check on pull_request closed (#2295)

This commit is contained in:
Tonye Jack 2024-09-25 07:57:38 -06:00 committed by GitHub
parent e21f1a3077
commit e753fb0a63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1119,9 +1119,9 @@ jobs:
since_last_remote_commit: true since_last_remote_commit: true
- name: Verify succeeded pull_request(closed) - 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: | 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 exit 1
- name: Verify succeeded - name: Verify succeeded