Skip to content

Commit 2b2ec79

Browse files
parity for GH workflows with master
1 parent f70cd01 commit 2b2ec79

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/release-drafter-v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name-template: '$RESOLVED_VERSION'
22
tag-template: '$RESOLVED_VERSION'
33
version-template: '3.$MINOR.$PATCH'
44
filter-by-commitish: true
5-
commitish: v3
5+
commitish: main
66
categories:
77
- title: '🚀 Features'
88
labels:

.github/workflows/release-drafter.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
# branches to consider in the event; optional, defaults to all
77
branches:
88
- master
9-
- v3
9+
- main
1010
# pull_request event is required only for autolabeler
1111
pull_request:
1212
branches:
1313
- master
14-
- v3
14+
- main
1515
# Only following types are handled by the action, but one can default to all as well
1616
types:
1717
- opened
@@ -21,7 +21,7 @@ on:
2121
pull_request_target:
2222
branches:
2323
- master
24-
- v3
24+
- main
2525
types:
2626
- opened
2727
- reopened
@@ -45,14 +45,14 @@ jobs:
4545
- name: Determine config file
4646
id: config
4747
run: |
48-
if [[ "${{ github.ref }}" == "refs/heads/v3" ]] || [[ "${{ github.base_ref }}" == "v3" ]]; then
49-
echo "config-name=release-drafter-v3.yml" >> $GITHUB_OUTPUT
48+
if [[ "${{ github.ref }}" == "refs/heads/main" ]] || [[ "${{ github.base_ref }}" == "main" ]]; then
49+
echo "config-name=release-drafter-main.yml" >> $GITHUB_OUTPUT
5050
else
5151
echo "config-name=release-drafter.yml" >> $GITHUB_OUTPUT
5252
fi
5353
54-
# Drafts your next Release notes as Pull Requests are merged into "master" or "v3"
55-
- uses: release-drafter/release-drafter@v7.0.0
54+
# Drafts your next Release notes as Pull Requests are merged into "master" or "main"
55+
- uses: release-drafter/release-drafter@v7.1.1
5656
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
5757
with:
5858
config-name: ${{ steps.config.outputs.config-name }}

0 commit comments

Comments
 (0)