Skip to content

Commit

Permalink
sync: synced file(s) with prom-client-net/prom-client-tmpl (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot authored Nov 24, 2024
1 parent c0837ca commit 9867d65
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Labeled

on:
pull_request:
types: [labeled]
branches:
- "main"

permissions:
pull-requests: write
contents: write

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

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

0 comments on commit 9867d65

Please sign in to comment.