ci: Fix event_name comparison

This commit is contained in:
Fabian-Lars
2024-08-08 18:16:43 +02:00
committed by GitHub
parent 406c23cdab
commit f75a8bbb60

View File

@@ -29,11 +29,11 @@ jobs:
#===== PULL REQUESTS =====#
- name: Is In progress
if: ${{ github.event_name == 'pull_request' && (github.event.pull_request.draft == true || github.event.pull_request.mergeable == false) }}
if: ${{ github.event_name == 'pull_request_target' && (github.event.pull_request.draft == true || github.event.pull_request.mergeable == false) }}
run: echo 'STATUS_ID='${{ env.IN_PROGRESS_STATUS_ID }} >> $GITHUB_ENV
- name: Is In review
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.event.pull_request.mergeable == true }}
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.draft == false && github.event.pull_request.mergeable == true }}
run: echo 'STATUS_ID='${{ env.IN_REVIEW_STATUS_ID }} >> $GITHUB_ENV
#===== END PULL REQUESTS =====#