Skip to content

Commit 25ec11b

Browse files
authored
fix: wrong trigger for workflow 6
1 parent 885b62c commit 25ec11b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/6-merge-your-pull-request.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: Step 6
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- main
7+
types:
8+
- closed
79

810
permissions:
911
contents: write
@@ -24,7 +26,7 @@ jobs:
2426
runs-on: ubuntu-latest
2527
if: |
2628
!github.event.repository.is_template &&
27-
github.head_ref == 'start-blog' &&
29+
github.head_ref == 'update-game' &&
2830
github.event.pull_request.merged == true
2931
env:
3032
ISSUE_URL: ${{ needs.find_exercise.outputs.issue-url }}

0 commit comments

Comments
 (0)