remove listener when logging out #73
Workflow file for this run
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
name: Enforce PR labels | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened] | |
jobs: | |
enforce-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: yogevbd/[email protected] | |
with: | |
REQUIRED_LABELS_ANY: "bugfix,enhancement,skip-changelog" | |
REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one of the following labels ['bugfix', 'enhancement', 'skip-changelog']" | |
BANNED_LABELS: "do-not-merge" |