Skip to content

Commit e2ff80f

Browse files
committed
CI: try status success
1 parent f9acac2 commit e2ff80f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/circleci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: CircleCI artifacts redirector
22
on:
3-
check_run:
4-
types: completed
5-
3+
status:
4+
if: github.event.state == 'success'
65
jobs:
76
circleci_artifacts_redirector_job:
87
if: github.event.description == 'Your tests passed on CircleCI!'
@@ -12,8 +11,10 @@ jobs:
1211
- name: DEBUG
1312
env:
1413
DESCRIPTION: ${{ github.event.description }}
14+
STATUSSTATE: ${{ github.event.state }}
1515
run: |
1616
echo The event description: $DESCRIPTION
17+
echo The event state: $STATUSSTATE
1718
- name: GitHub Action step
1819
uses: larsoner/circleci-artifacts-redirector-action@master
1920
with:

0 commit comments

Comments
 (0)