Skip to content

Commit 7332721

Browse files
Create release-drafter.yml
1 parent d850e4d commit 7332721

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
# pull_request event is required only for autolabeler
9+
pull_request:
10+
# Only following types are handled by the action, but one can default to all as well
11+
types: [opened, reopened, synchronize]
12+
13+
jobs:
14+
update_release_draft:
15+
runs-on: ubuntu-latest
16+
steps:
17+
# (Optional) GitHub Enterprise requires GHE_HOST variable set
18+
#- name: Set GHE_HOST
19+
# run: |
20+
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
21+
22+
# Drafts your next Release notes as Pull Requests are merged into "master"
23+
- uses: release-drafter/release-drafter@v5
24+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
25+
# with:
26+
# config-name: my-config.yml
27+
# disable-autolabeler: true
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)