Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 3d7fd3f

Browse files
committed
chore: reverse github.event.inputs.pull_request_id condition on update e2e-tests status
1 parent 1972abf commit 3d7fd3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Mark end-to-end tests as pending with run URL
3838
# For manual runs (e.g for fork PRs) don't update commit status as there won't be permissions to do so
39-
if: ${{ github.event.inputs.pull_request_id != '' }}
39+
if: ${{ github.event.inputs.pull_request_id == '' }}
4040
uses: Sibz/github-status-action@v1
4141
with:
4242
authToken: ${{ secrets.GITHUB_TOKEN }}
@@ -109,7 +109,7 @@ jobs:
109109
110110
- name: Mark end-to-end tests as failed
111111
# For manual runs (e.g for fork PRs) don't update commit status as there won't be permissions to do so
112-
if: ${{ failure() && github.event.inputs.pull_request_id != '' }}
112+
if: ${{ failure() && github.event.inputs.pull_request_id == '' }}
113113
uses: Sibz/github-status-action@v1
114114
with:
115115
authToken: ${{ secrets.GITHUB_TOKEN }}
@@ -126,7 +126,7 @@ jobs:
126126
steps:
127127
- name: Mark end-to-end tests as succeeded
128128
# For manual runs (e.g for fork PRs) don't update commit status as there won't be permissions to do so
129-
if: ${{ github.event.inputs.pull_request_id != '' }}
129+
if: ${{ github.event.inputs.pull_request_id == '' }}
130130
uses: Sibz/github-status-action@v1
131131
with:
132132
authToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)