Skip to content

Commit 4584c9d

Browse files
committed
[workflows/release] have goreleaser open PRs to update tap
Currently `goreleaser` is attempting to push directly to trunk which is blocked by our different rulesets. Instead, we can have `goreleaser` open a PR and that can be merged manually so that we have no exceptions for all changes being made through a PR. #113
1 parent 2234f28 commit 4584c9d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
goreleaser:
10+
permissions:
11+
pull-requests: write
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: Checkout

.goreleaser.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ changelog:
3535
filters:
3636
exclude:
3737
- '^docs:'
38-
- '^test:'
38+
- '^test:'
3939
- Merge pull request
4040
- Merge branch
4141
brews:
@@ -45,3 +45,5 @@ brews:
4545
directory: Formula
4646
homepage: https://github.com/mercari/hcledit
4747
description: CLI to edit HCL configurations
48+
pull_request:
49+
enabled: true

0 commit comments

Comments
 (0)