[ci] Only evaluate jobs statuses for pull request event (#47615)

* Condition evaluate status job by github event

* Test reverse condition

* Test with push event

* Revert condition to match pull_request
This commit is contained in:
Adrian Moldovan 2024-05-22 00:28:24 +03:00 committed by GitHub
parent 3edf17bf22
commit ccba59ce05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ jobs:
'project-api-test-jobs',
'project-performance-test-jobs'
]
if: ${{ always() }}
if: ${{ always() && github.event_name == 'pull_request' }}
steps:
- uses: 'actions/checkout@v4'
name: 'Checkout'