Skip to content

Commit

Permalink
[workflows/release] have goreleaser open PRs to update tap
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ryan-ph committed Jul 17, 2024
1 parent 2234f28 commit 4584c9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
goreleaser:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ changelog:
filters:
exclude:
- '^docs:'
- '^test:'
- '^test:'
- Merge pull request
- Merge branch
brews:
Expand All @@ -45,3 +45,5 @@ brews:
directory: Formula
homepage: https://github.com/mercari/hcledit
description: CLI to edit HCL configurations
pull_request:
enabled: true

0 comments on commit 4584c9d

Please sign in to comment.