Open
Description
With slight changes from the example config, my PRs are seeing this failure message at subject: ERROR Resource not accessible by integration
Config
name: automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
permissions:
# actions: read|write|none
# Note: Advice from https://github.com/pascalgn/automerge-action/issues/214
contents: write
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.15.6"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "!wip"
MERGE_METHOD_LABELS: "automerge=merge,autosquash=squash"
MERGE_METHOD_LABEL_REQUIRED: true
MERGE_COMMIT_MESSAGE: "pull-request-description"
MERGE_RETRIES: "10"
MERGE_RETRY_SLEEP: "30000"
MERGE_REQUIRED_APPROVALS: "0"
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"
Detected Labels
$ gh pr view 19 --json labels
{
"labels": [
{
"id": "LA_kwDOKFf69c8AAAABXivleg",
"name": "automerge",
"description": "",
"color": "42EA5A"
}
]
}
Failing Log
Run pascalgn/automerge-action@v0.15.6
env:
GITHUB_TOKEN: ***
MERGE_LABELS: !wip
MERGE_METHOD_LABELS: automerge=merge,autosquash=squash
MERGE_METHOD_LABEL_REQUIRED: true
MERGE_COMMIT_MESSAGE: pull-request-description
MERGE_RETRIES: 10
MERGE_RETRY_SLEEP: 30000
MERGE_REQUIRED_APPROVALS: 0
UPDATE_LABELS:
UPDATE_METHOD: rebase
2023-08-24T18:51:13.219Z INFO Event name: pull_request
2023-08-24T18:51:13.477Z ERROR Resource not accessible by integration
It would be awesome if the inaccessible Resource
was named or identified I think; can you suggest what else I can try?