Skip to content

Commit 9f55f05

Browse files
fix: add write permissions to release job
1 parent 081433c commit 9f55f05

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- "v[0-9]+.[0-9]+.[0-9]+"
77
jobs:
88
release:
9+
permissions:
10+
contents: write
911
runs-on: ubuntu-latest
1012
steps:
1113
- name: Setup Go Env

.goreleaser.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
# This is an example .goreleaser.yml file with some sensible defaults.
2-
# Make sure to check the documentation at https://goreleaser.com
3-
41
# The lines below are called `modelines`. See `:help modeline`
52
# Feel free to remove those if you don't want/need to use them.
63
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7-
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
84

95
version: 1
106

117
before:
128
hooks:
13-
# You may remove this if you don't use go modules.
149
- go mod tidy
15-
# you may remove this if you don't need go generate
16-
- go generate ./...
1710

1811
builds:
1912
- env:

0 commit comments

Comments
 (0)