When using GitHub Actions, you might feel tempted to use the action-bound `GITHUB_TOKEN`.
While it is a good practice, and should work for most cases, if your workflow writes a file in another repository, you may see this error:
```sh
⨯ release failed after 430.85s error=homebrew tap formula: failed to publish artifacts: PUT https://api.github.com/repos/user/homebrew-tap/contents/Formula/scorecard.rb: 403 Resource not accessible by integration []
```
Integrations that may cause this:
- Homebrew Tap
- Gofish Rigs
- Krew Plugins
## Fixing it
You have basically two options:
### 1. Use a Personal Access Token (PAT) for the entire process
You can create a PAT and use it for the entire GoReleaser action run.
You'll need to add it as secret and pass it to the action, for instance: