gr2m / merge-schedule-action

GitHub Action to merge pull requests on a scheduled day

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HttpError: Invalid app_id

bellons91 opened this issue · comments

I'm running this action on my private repository.

My PRs get merged correctly, but the action fails with this error:

HttpError: Invalid app_id 13473 - check run can only be modified by the GitHub App that created it.

The YAML file I use for this action is almost the default one:

name: Merge Schedule
on:
  pull_request:
    types:
      - opened
      - edited
  schedule:
    # https://crontab.guru/every-hour
    - cron: 0 8 * * Tue

jobs:
  merge_schedule:
    runs-on: ubuntu-latest
    steps:
      - uses: gr2m/merge-schedule-action@v1
        with: 
          merge_method: squash 
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Any ideas for that?

Hm that is very odd, I have not seen it myself. If you could provide steps to reproduce the problem, we could investigate why it happens

Actually, my only steps are

  1. using the action defined in the yml I posted before
  2. Defining the PR like this:

image

The only difference is that I also refer to GitHub issues in my comments, to close the related task.

If you prefer, I could give you the access to my repo, so that you could try it on your own

I don't have time to investigate myself right now, sorry :( I hope you or someone else can figure out what the problem is