Skip to content

Personal tap publish fails du to GitHub API Error (HOMEBREW_GITHUB_API_TOKEN) #4474

Discussion options

You must be logged in to vote

This is an issue with ${{ github.token }}'s permissions. Can you try setting the following permissions in the workflow, and then re-add the pr-pull tag:

permissions:
  actions: read
  contents: write
  pull-requests: write

For more information: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ZhongRuoyu
Comment options

@a4z
Comment options

@a4z
Comment options

@ZhongRuoyu
Comment options

@a4z
Comment options

Answer selected by a4z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants