Skip to content

Commit dbf1da8

Browse files
authored
Update release-drafter.yml
1 parent e96791b commit dbf1da8

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
name: Release Drafter
22

33
on:
4-
push:
5-
# branches to consider in the event; optional, defaults to all
6-
branches:
7-
- master
8-
- main
9-
# pull_request event is required only for autolabeler
10-
pull_request:
11-
# Only following types are handled by the action, but one can default to all as well
12-
types: [opened, reopened, synchronize]
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
- main
9+
# pull_request event is required only for autolabeler
10+
pull_request:
11+
# Only following types are handled by the action, but one can default to all as well
12+
types: [ opened, reopened, synchronize ]
1313

1414
jobs:
15-
update_release_draft:
16-
runs-on: ubuntu-latest
17-
steps:
18-
# (Optional) GitHub Enterprise requires GHE_HOST variable set
19-
#- name: Set GHE_HOST
20-
# run: |
21-
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
22-
23-
# Drafts your next Release notes as Pull Requests are merged into "master"
24-
- uses: release-drafter/release-drafter@v5
25-
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
26-
# with:
27-
# config-name: my-config.yml
28-
# disable-autolabeler: true
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
update_release_draft:
16+
runs-on: ubuntu-latest
17+
steps:
18+
# (Optional) GitHub Enterprise requires GHE_HOST variable set
19+
#- name: Set GHE_HOST
20+
# run: |
21+
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
22+
23+
# Drafts your next Release notes as Pull Requests are merged into "master"
24+
- uses: release-drafter/release-drafter@v5
25+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
26+
# with:
27+
# config-name: my-config.yml
28+
# disable-autolabeler: true
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)