Skip to content

Commit

Permalink
ci: add automerge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Nov 1, 2023
1 parent c0071ab commit 6c53850
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Automerge phnx47[bot]

on:
pull_request:
branches:
- "main"

permissions:
pull-requests: write
contents: write

jobs:
automerge:
name: Automerge phnx47[bot]
runs-on: ubuntu-22.04
if: github.actor == 'phnx47-bot'
steps:
- name: Enable Pull Request Automerge
run: gh pr merge --merge --auto "1"
env:
GH_TOKEN: ${{ secrets.GH_FULL_PAT }}

0 comments on commit 6c53850

Please sign in to comment.