Skip to content

Commit

Permalink
Merge pull request #320 from boxuk/BWP-122
Browse files Browse the repository at this point in the history
[BWP-122] Triggering the Test Workflows
  • Loading branch information
jdamner authored Jan 16, 2025
2 parents 51be9c8 + 69f2d93 commit 90b9115
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:

- name: Mark Check as Pending
if: github.event_name == 'workflow_run'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api repos/${{ github.repository }}/statuses/${{ steps.checkout-deps.outputs.pr-head-sha }} \
-f state=pending \
Expand All @@ -70,6 +72,8 @@ jobs:

- name: Mark Check as Success
if: github.event_name == 'workflow_run' && success()
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api repos/${{ github.repository }}/statuses/${{ steps.checkout-deps.outputs.pr-head-sha }} \
-f state=success \
Expand All @@ -79,6 +83,8 @@ jobs:
- name: Mark Check as Failure
if: github.event_name == 'workflow_run' && failure()
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api repos/${{ github.repository }}/statuses/${{ steps.checkout-deps.outputs.pr-head-sha }} \
-f state=failure \
Expand Down

0 comments on commit 90b9115

Please sign in to comment.