Skip to content

Commit

Permalink
Update readme with personal access token note
Browse files Browse the repository at this point in the history
Describe behaviour reported in #65.
  • Loading branch information
hongaar authored Apr 5, 2020
1 parent f35cd36 commit 4a866df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ You can configure the environment variables in the workflow file like this:
- When a pull request is merged by this action, the merge will not trigger other GitHub workflows.
Similarly, when another GitHub workflow creates a pull request, this action will not be triggered.
This is because [an action in a workflow run can't trigger a new workflow run](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).
- When [using a personal access token (PAT) to work around the above limitation](https://help.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token), note that when the user issuing the PAT is an administrator and [branch restrictions do not include administrators](https://help.github.com/en/github/administering-a-repository/enabling-branch-restrictions), pull requests may be merged even if they are not mergeable for non-administrators (see [#65](https://github.com/pascalgn/automerge-action/issues/65)).
- When a check from a build tools like Jenkins or CircleCI completes, GitHub
triggers the action workflow, but sometimes the pull request state is still
pending, blocking the merge. This is [an open issue](https://github.com/pascalgn/automerge-action/issues/7).
Expand Down

0 comments on commit 4a866df

Please sign in to comment.