mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2024-12-23 13:32:07 +01:00
Prevent template files from being committed
This commit is contained in:
parent
acabbe21fc
commit
4cf0d5d8d6
1 changed files with 6 additions and 0 deletions
|
@ -135,6 +135,12 @@ runs:
|
||||||
uses: andstor/file-reader-action@v1
|
uses: andstor/file-reader-action@v1
|
||||||
with:
|
with:
|
||||||
path: "pr_body.txt"
|
path: "pr_body.txt"
|
||||||
|
# We need to remove the pr_body files so that the
|
||||||
|
# peter-evans/create-pull-request action does not commit it (the
|
||||||
|
# action commits all new and modified files).
|
||||||
|
- name: Remove PR body template files
|
||||||
|
shell: bash
|
||||||
|
run: rm -f pr_body.txt pr_body.template
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
id: create-pr
|
id: create-pr
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
|
|
Loading…
Reference in a new issue