You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hope it's okay to ask for support this way. I've set up a workflow using this action to enable auto-merge on all pull requests from dependabot as shown in the readme. Unfortunately, the runs fail with the above error message.
I'm not quite sure what "unstable status" refers to, as I could neither find it in the source code of this action nor in the GitHub Docs 🤷🏻♂️ My first thought ran to some kind of timing issue, but re-running the workflow after the pr had been open for some time didn't yield another result.
I'm pasting my workflow file and debug log below – any ideas would be appreciated 👍🏻
Thanks
Workflow
name: Auto-Merge
# https://github.com/marketplace/actions/enable-github-automerge#2-usage
on:
pull_request_target:
types: [labeled]
jobs:
enable-auto-merge:
runs-on: ubuntu-latest
# Specifically check that dependabot (or another trusted party) created this pull-request, and that it has been labelled correctly.
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies')
steps:
- uses: alexwilson/enable-github-automerge-action@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
Debug Log
##[debug]Evaluating condition for step: 'Run alexwilson/enable-github-automerge-action@main'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run alexwilson/enable-github-automerge-action@main
##[debug]Loading inputs
##[debug]Evaluating: secrets.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run alexwilson/enable-github-automerge-action@main
with:
github-token: ***
##[debug]Retrieving merge-method...
##[debug]Successfully retrieved merge-method as: SQUASH
##[debug]Enabling auto-merge for pull-request #11...
Error: ["Pull request Pull request is in unstable status"]
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run alexwilson/enable-github-automerge-action@main
The text was updated successfully, but these errors were encountered:
If you haven't resolved your issue by now, you may want to take a look at peter-evans/enable-pull-request-automerge#355. Same error, similar workflow, but with a discussion of possible solutions.
Hi,
hope it's okay to ask for support this way. I've set up a workflow using this action to enable auto-merge on all pull requests from dependabot as shown in the readme. Unfortunately, the runs fail with the above error message.
I'm not quite sure what "unstable status" refers to, as I could neither find it in the source code of this action nor in the GitHub Docs 🤷🏻♂️ My first thought ran to some kind of timing issue, but re-running the workflow after the pr had been open for some time didn't yield another result.
I'm pasting my workflow file and debug log below – any ideas would be appreciated 👍🏻
Thanks
Workflow
Debug Log
The text was updated successfully, but these errors were encountered: