-
-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
Describe the bug
When the action runs, I get the following error message:
Error: Resource not accessible by integration
I use the following job declaration, essentially comming from the docs:
Display job
name: Check PR title
permissions:
pull-requests: write
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
wip: true
ignoreLabels: |
automated-pr
types: |
fix
feat
update
add
delete
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$'
headerPatternCorrespondence: type, scope, subject
My repo gives:
- all access to workflows and reusable actions.
- read and write permissions workflows
- doesn't expect forks, but I've tried
pull_requestandpull_request_target. Same error.
To reproduce
Follow the install instructions, and open a PR to trigger the action.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels