Skip to content

Subsequent pushes to existing PR/branch lead to stuck PR actions #34

@Yserz

Description

@Yserz

Describe the bug
When a fresh PR/branch is created by the action it seems to use the provided GITHUB_TOKEN so the owner of the token is displayed as creator of the PR. When an update to this PR is pushed from the action it seems it uses the default github.token and github-actions is the creator of the push. This seems to not allow to run other actions on the updated PR (I suspect to prevent infinite loops). Here's an example: wireapp/wire-webapp#9696.

To Reproduce
Steps to reproduce the behavior:

  1. Change the translations files in order to create a new PR/branch with the action (creator will be otto-the-bot and other actions are running through)
  2. Add another change and trigger the action (push is created by github-actions)
  3. Other actions running on this PR are stuck and never complete.

Expected behavior
Subsequent pushes are created from otto-the-bot instead of github-actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions