bazel-contrib / rules-template

A template for creating a new Bazel ruleset
Apache License 2.0
82 stars 21 forks source link

Problem with workflow permissions when cutting a release #64

Closed mgred closed 6 months ago

mgred commented 1 year ago

I experienced some problem as I released a project that is based on rules-template.

  1. v0.0.0 - :x: failed.
  2. I fixed it by setting the permissions key in the workflow as described in this comment
  3. v0.0.1 - :heavy_check_mark: succeeded
  4. reverted the commit and, instead, set the workflow permissions in the settings 2023-05-12-230337_422x279_scrot
  5. v0.0.2 - :heavy_check_mark: succeeded

It seems setting the permissions in the settings or in the workflow file, respectively, fixes the issue.

Did anybody else had this problem? Is this worth a note in the README.md?

I'm thankful for any feedback :metal: