-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.32 KB
/
release-drafter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# The "Release Drafter" workflow automates the process of drafting
# new releases by generating release notes based on pull requests
# and commits. This workflow is triggered when changes are pushed to
# the `master` branch and when pull requests are opened, reopened,
# or synchronized.
#
# This workflow streamlines the process of creating informative and organized
# release notes for each new version of the project. It ensures that
# the release notes accurately reflect the changes introduced by pull requests
# and commits, enhancing transparency and communication with users and contributors.
#
# For more details about Release Drafter, consider refer to link below.
# https://github.com/release-drafter/release-drafter
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}