We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9350f commit dc2ef8eCopy full SHA for dc2ef8e
1 file changed
.github/workflows/release-drafter.yml
@@ -1,3 +1,6 @@
1
+# Automates creation of Release Drafts using Release Drafter
2
+# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
3
+---
4
name: Release Drafter
5
6
on:
@@ -6,13 +9,15 @@ on:
9
branches:
7
10
- master
8
11
12
+permissions:
13
+ contents: write
14
+ pull-requests: write
15
+
16
jobs:
17
update_release_draft:
18
runs-on: ubuntu-latest
19
steps:
- # Drafts your next Release notes as Pull Requests are merged into "master"
20
+ # Drafts your next Release notes as Pull Requests are merged into the default branch
21
- uses: release-drafter/release-drafter@v7
- with:
- publish: ${{ contains(github.event.head_commit.message, '[maven-release-plugin] prepare release') }}
22
env:
23
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments