mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
ci: Fix event_name comparison
This commit is contained in:
4
.github/workflows/status.yml
vendored
4
.github/workflows/status.yml
vendored
@@ -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 =====#
|
||||
|
||||
|
||||
Reference in New Issue
Block a user