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

Create workflow to automerge sourcery-ai[bot] PRs #6

Open
brendanator opened this issue Jan 1, 2025 · 0 comments
Open

Create workflow to automerge sourcery-ai[bot] PRs #6

brendanator opened this issue Jan 1, 2025 · 0 comments

Comments

@brendanator
Copy link
Contributor

  • Create GitHub workflow called merge-sourcery-ai-bot-pr.yml
  • Trigger on pull request
  • Set env vars
    • GH_TOKEN: secrets.USER_TOKEN
  • Add permissions needed: content
  • Only if the author is sourcery-ai[bot] merge the PR using gh pr merge --squash --auto --delete-branch --repo <repo> <pr_number>
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