Skip to content

Commit

Permalink
fix(goreleaser) move permission grant earlier (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
kengou authored May 22, 2024
1 parent 9f0c48b commit edf3a72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-greenhousectl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:
- cmd/greenhousectl/**
- pkg/cmd/**

permissions:
contents: write # required to create a release

jobs:
build:
permissions:
contents: write # required to create a release
runs-on: [ default ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v5
Expand Down

0 comments on commit edf3a72

Please sign in to comment.