Skip to content

Commit f292ac5

Browse files
authored
Do not create another auto PR when a job runs for PR (#573)
`.github/workflows/generate-code.yml` creates another PR when the submitted PR has diff ... 😄 This change fixes it.
1 parent ba382d0 commit f292ac5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/generate-code.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Generate code and open pull request
22

33
on:
44
push:
5+
branches:
6+
- 'master'
57
pull_request:
68
merge_group:
79
workflow_dispatch:

0 commit comments

Comments
 (0)