Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 8c1931e

Browse files
authored
Updating release pull request workflow
Trying a different way of adding a commit to allow for pr creation on release pull requests. This way reduces both the number of commits and requires no actual file changes.
1 parent 06356ff commit 8c1931e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release-pull-request.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,9 @@ jobs:
1919
uses: actions/checkout@v2
2020
- name: Create changeset for pull request
2121
run: |
22-
date > .release-artifact
2322
git config user.name github-actions
2423
git config user.email [email protected]
25-
git add .
26-
git commit -m "generating changeset for pull request"
27-
rm .release-artifact
28-
git commit -am "generating changeset for pull request"
24+
git commit -m 'Empty commit for release pull request' --allow-empty
2925
git push
3026
- name: Create Release Pull Request
3127
uses: woocommerce/automations@v1

0 commit comments

Comments
 (0)