File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,19 +2,10 @@ name: Release Drafter
22
33on :
44 push :
5- # branches to consider in the event; optional, defaults to all
65 branches :
76 - main
87 - master
98
10- # pull_request event is required only for autolabeler
11- pull_request :
12- # Only following types are handled by the action, but one can default to all as well
13- types : [ opened, reopened, synchronize ]
14- # pull_request_target event is required for autolabeler to support PRs from forks
15- # pull_request_target:
16- # types: [opened, reopened, synchronize]
17-
189permissions :
1910 contents : read
2011
2819 pull-requests : write
2920 runs-on : ubuntu-latest
3021 steps :
31- # (Optional) GitHub Enterprise requires GHE_HOST variable set
32- # - name: Set GHE_HOST
33- # run: |
34- # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
35-
36- # Drafts your next Release notes as Pull Requests are merged into "master"
3722 - uses : release-drafter/release-drafter@v7
38- # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
39- # with:
40- # config-name: my-config.yml
41- # disable-autolabeler: true
4223 env :
4324 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments