Skip to content

Commit 86ab9d4

Browse files
committed
fix double commit issue
1 parent fe1279b commit 86ab9d4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/auto-pr-on-issue.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ jobs:
3232
${{ toJson(github.event.issue) }}
3333
EOF
3434
35-
- name: Commit generated guideline files
36-
run: |
37-
git add src/coding-guidelines/
38-
git commit -m "Add guideline for issue #${{ github.event.issue.number }}"
39-
4035
- name: Create Pull Request
4136
uses: peter-evans/create-pull-request@v6
37+
with:
38+
add-paths: |
39+
src/coding-guidelines/
4240
with:
4341
commit-message: |
4442
Add guideline for issue #${{ github.event.issue.number }}

0 commit comments

Comments
 (0)