⚙️
[GitHub Actions] Error: Resource not accessible by integration
Run softprops/action-gh-release@v1
Unexpected error fetching GitHub release for tag refs/tags/v0.1: HttpError: Resource not accessible by integration
Error: Resource not accessible by integration
が出た時
jobs:
permissions:
contents: write
を追加すれば解消した。
Release にファイルを追加しているのでallows the action to create a release
に該当してそう。
Discussion
action-gh-release の README に書いてあった