Skip to content

GitHub action which labels pull requests scheduled to be auto-merged for better visibility in the pull request overview

License

Notifications You must be signed in to change notification settings

ubuntudroid/automerge-labeler

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

automerge-labeler

GitHub action which labels pull requests scheduled to be auto-merged for better visibility in the pull request overview.

Setup

Create a new workflow file (e.g. automerge-labeler.yml) with the following content:

# This workflow labels PRs for which automerge is enabled with a label so that we can easily spot them in the PR overview UI.

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

Honorable mentions

This action uses the awesome add-remove-label action.

About

GitHub action which labels pull requests scheduled to be auto-merged for better visibility in the pull request overview

Topics

Resources

License

Stars

Watchers

Forks