Skip to content

Commit 9e21d94

Browse files
committed
Ignore unmaintained branches when merging up for Go
1 parent 9455ec6 commit 9e21d94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

golang/pre-publish/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ inputs:
77
push_changes:
88
description: Whether to push the changes
99
default: "true"
10+
ignored_branches:
11+
description: Branches to ignore when merging up changes
12+
required: true
1013

1114
runs:
1215
using: composite
@@ -31,6 +34,7 @@ runs:
3134
branchNamePattern: 'release/<major>.<minor>'
3235
devBranchNamePattern: 'v<major>'
3336
fallbackBranch: 'master'
37+
ignoredBranches: ${{ inputs.ignored_branches }}
3438
- name: "Manually merge up changes"
3539
if: ${{ inputs.push_changes && steps.get-next-branch.outputs.hasNextBranch }}
3640
shell: bash

0 commit comments

Comments
 (0)