Skip to content

Commit

Permalink
ci(automerge): test automerge sync
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Nov 1, 2023
1 parent a34c1f7 commit e25e408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Automerge
name: Auto-merge

on:
pull_request:
Expand All @@ -12,14 +12,14 @@ permissions:

jobs:
automerge:
name: Enable PR Automerge
name: Enable PR auto-merge
runs-on: ubuntu-22.04
if: github.actor == 'phnx47-bot' && contains(github.event.pull_request.labels.*.name, 'sync')
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Command
- name: Run command
run: gh pr merge -s --auto ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GH_FULL_PAT }}

0 comments on commit e25e408

Please sign in to comment.