This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Verify if a pull request contains the labels required to enable the merge button. | |
name: require-labels | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- unlabeled | |
jobs: | |
require-labels: | |
name: Require labels | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Require labels | |
uses: docker://agilepathway/pull-request-label-checker:v1.4.30 | |
with: | |
any_of: "ok to merge :ok_hand:" | |
none_of: do not merge | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |