Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAT not used when merging PRs #269

Open
migheorghe opened this issue May 13, 2024 · 0 comments
Open

PAT not used when merging PRs #269

migheorghe opened this issue May 13, 2024 · 0 comments

Comments

@migheorghe
Copy link

I have a weird behavior when using this action to automerge PRs. The action is configured to use a PAT instead of the default GITHUB_TOKEN and most of the times it merges the PRs using my account. However every once in a while it merges the PRs with gihub-actions user and I can't explain this behavior. Does ayone has any idee of what it might happen and how can I fix this?

    steps:
      - id: automerge-pat
        name: automerge-pat
        uses: "pascalgn/automerge-action@v0.16.3"
        env:
          GITHUB_TOKEN: "${{ secrets.FF_AUTO_PAT }}"
          MERGE_LABELS: "automerge,!WIP,!WORK IN PROGRESS,!wip,!work in progress"
          MERGE_DELETE_BRANCH: true
          MERGE_METHOD: rebase
          LOG: "TRACE"
          MERGE_RETRIES: "10"
          MERGE_RETRY_SLEEP: "5000"
          MERGE_REQUIRED_APPROVALS: "0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant