Skip to content

Automerge of dependabot pull request stuck when pushing a commit with GITHUB_TOKEN #42693

Description

@rsteube

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/automating-dependabot-with-github-actions

What part(s) of the article would you like to see updated?

When modifying a pull request opened by dependabot using the GITHUB_TOKEN the automerge process is stuck.
Seems this token does not trigger the automerge workflow (of github) and one needs to use a user/bot PAT.

The workflow runs recommended in automating-dependabot-with-github-actions are successful though so as a user it is hard to identify the issue.

Might be good to add another bulletpoint to the investigating-failed-workflow-runs that the GITHUB_TOKEN shouldn't be used for a push.

Additional information

see https://github.com/community/maintainers/discussions/686

Metadata

Metadata

Assignees

No one assigned

    Labels

    code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamneeds SMEThis proposal needs review from a subject matter expert

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions