-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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
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
progress44 and craigjbass
Metadata
Metadata
Assignees
Labels
No labels