aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/draft_new_release.yml
diff options
context:
space:
mode:
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.