Skip to content

Commit b03978d

Browse files
authored
Update action.yml
1 parent 13f69f0 commit b03978d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "examples"
2-
on: [pull_request]
2+
on:
3+
push:
4+
branches: [master]
35

46
#jobs:
57
# make sure the action works on a clean machines without building
@@ -47,8 +49,11 @@ jobs:
4749

4850
- name: create a failure
4951
id: failure_step
52+
env:
53+
PR: ${{ github.event.pull_request.comments_url }}
5054
run: |
51-
! echo "Hello"
55+
echo "Hello"
56+
echo ${{ env.PR }}
5257
echo $?
5358
5459

0 commit comments

Comments
 (0)