Skip to content

Commit 016887a

Browse files
committed
run workflow on approval
1 parent 6940c39 commit 016887a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/approval.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: Approval Workflow
22

33
on:
4-
workflow_dispatch:
5-
# pull_request_review:
6-
# types: [submitted]
4+
# workflow_dispatch:
5+
pull_request_review:
6+
types: [submitted]
77
jobs:
88
approved:
9-
# if: github.event.review.state == 'approved'
9+
if: github.event.review.state == 'approved'
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Run Integration Tests
1313
run: |
1414
echo "Testing echo"
1515
echo "$GITHUB_HEAD_REF"
16-
echo "$GITHUB_REF"
1716
echo "$GITHUB_REF_NAME"

0 commit comments

Comments
 (0)