The conventional-pr-title workflow fails on private repos with:
Resource not accessible by integration - https://docs.github.com/rest/pulls/pulls#get-a-pull-request
The amannn/action-semantic-pull-request action needs to call the GitHub REST API to read the PR title, but the default GITHUB_TOKEN on private repos doesn't include pull-requests: read.
Add to .github/workflows/conventional-pr-title.yml:
permissions:
pull-requests: read
Fixed in oce-lib-module-config via openCoreEMR/oce-lib-module-config@3305601.
The
conventional-pr-titleworkflow fails on private repos with:The
amannn/action-semantic-pull-requestaction needs to call the GitHub REST API to read the PR title, but the defaultGITHUB_TOKENon private repos doesn't includepull-requests: read.Add to
.github/workflows/conventional-pr-title.yml:Fixed in oce-lib-module-config via openCoreEMR/oce-lib-module-config@3305601.