aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/draft_new_release.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-09-02 18:18:18 +0530
committerGitHub <noreply@github.com>2020-09-02 18:18:18 +0530
commit6f42586a8d7319981ecf3a71d8f8338752295b36 (patch)
tree970ea3f3dad2cfeac2c52c82df0549a686e25463 /.github/workflows/draft_new_release.yml
parentcbb96397d1f5cffef7984b08a426646aaea93e5b (diff)
downloadHardenedPass-6f42586a8d7319981ecf3a71d8f8338752295b36.tar.gz
HardenedPass-6f42586a8d7319981ecf3a71d8f8338752295b36.zip
github: update workflows to use peter-evans/create-pull-request (#1072)
Turns out the workflow we use currently is far too unreliable. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github/workflows/draft_new_release.yml')
-rw-r--r--.github/workflows/draft_new_release.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml
index 0e91926b..f1ff1f96 100644
--- a/.github/workflows/draft_new_release.yml
+++ b/.github/workflows/draft_new_release.yml
@@ -30,18 +30,10 @@ jobs:
git config user.name "GitHub Actions"
git config user.email noreply@github.com
- - name: Commit changelog
- run: |
- git add CHANGELOG.md
- git commit --message "Prepare release ${{ env.RELEASE_VERSION }}"
-
- - name: Push new branch
- run: git push origin release-${{ env.RELEASE_VERSION }}
-
- - name: Create pull request
- uses: thomaseizinger/create-pull-request@1.0.0
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v3
with:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- head: release-${{ env.RELEASE_VERSION }}
+ commit-message: "Prepare release ${{ env.RELEASE_VERSION }}"
+ branch: release-${{ env.RELEASE_VERSION }}
base: release
title: Release ${{ env.RELEASE_VERSION }}