Skip to content

Commit

Permalink
ci: fix release workflow (#375)
Browse files Browse the repository at this point in the history
While trying to release v0.18.0 we got a new permissions error during
the "release workflow"
([link](https://github.com/honeycombio/terraform-provider-honeycombio/actions/runs/6487306414/job/17617320152)):

> error=scm releases: failed to publish artifacts: could not release:
POST
https://api.github.com/repos/honeycombio/terraform-provider-honeycombio/releases:
403 Resource not accessible by integration []

Looking at some similar errors, we think goreleaser may (now?) require
increased permissions to create a draft release
([reference](goreleaser/goreleaser#2642))
  • Loading branch information
jharley authored Oct 11, 2023
1 parent a906c2f commit 8b25348
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
goreleaser:
name: Release (GoReleaser)
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write

steps:
- name: Checkout
Expand Down

0 comments on commit 8b25348

Please sign in to comment.