aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/draft_new_release.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-06 23:49:29 +0530
committerGitHub <noreply@github.com>2021-12-06 18:19:29 +0000
commit968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f (patch)
treebb6c0dbc3381c5314953d99d0581d0a99b700388 /.github/workflows/draft_new_release.yml
parent20eae05eec21784bf57a6687b702918476b83a05 (diff)
downloadHardenedPass-968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f.tar.gz
HardenedPass-968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f.zip
Convert all GHA references to normal versions (#1570)
Diffstat (limited to '.github/workflows/draft_new_release.yml')
-rw-r--r--.github/workflows/draft_new_release.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml
index 329d111b..931c43b2 100644
--- a/.github/workflows/draft_new_release.yml
+++ b/.github/workflows/draft_new_release.yml
@@ -9,9 +9,12 @@ jobs:
name: "Draft a new release"
runs-on: ubuntu-latest
steps:
- - uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
- with:
- java-version: '11'
+ - name: Set up JDK
+ uses : actions/setup-java@v2.4.0
+ with :
+ distribution : 'zulu'
+ java-version : '11'
+ cache: 'gradle'
- name: Extract version from milestone
run: |
@@ -35,12 +38,12 @@ jobs:
echo "PR_BASE=release-${BRANCH_VERSION}" >> $GITHUB_ENV
echo "PR_HEAD=release-prep" >> $GITHUB_ENV
- - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
+ - uses: actions/checkout@v2.4.0
with:
ref: ${{ env.CHECKOUT_REF }}
- name: Update changelog
- uses: thomaseizinger/keep-a-changelog-new-release@9f6c16b8af7dd10f8aa0ad740fd648b2cfe22171
+ uses: thomaseizinger/keep-a-changelog-new-release@1.3.0
with:
version: ${{ github.event.milestone.title }}
@@ -75,7 +78,7 @@ jobs:
git commit -m "build: bump version"
- name: Create Pull Request
- uses: peter-evans/create-pull-request@01f7dd1d28f5131231ba3ede0f1c8cb413584a1d
+ uses: peter-evans/create-pull-request@v3.11.0
with:
author: GitHub Actions <noreply@github.com>
body: This is an automated pull request to bump the changelog for the ${{ github.event.milestone.title }} release.