8000 Error: Resource not accessible by integration · Issue #249 · amannn/action-semantic-pull-request · GitHub
[go: up one dir, main page]

Skip to content

Error: Resource not accessible by integration #249

@ArthurFlag

Description

@ArthurFlag

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_request and pull_request_target. Same error.

To reproduce

Follow the install instructions, and open a PR to trigger the action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0