Skip to content

Instantly share code, notes, and snippets.

@ubuntudroid
Created September 17, 2022 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ubuntudroid/0d8973f0ccbd51c7432d9e76a683e183 to your computer and use it in GitHub Desktop.
Save ubuntudroid/0d8973f0ccbd51c7432d9e76a683e183 to your computer and use it in GitHub Desktop.
name: Label auto-merge PRs
on:
pull_request_target:
types: [ auto_merge_enabled, auto_merge_disabled ]
jobs:
add_remove_labels:
runs-on: ubuntu-latest
steps:
- uses: ubuntudroid/automerge-labeler@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
label: 'auto-merge' # optional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment