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