updated action #7
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: check-milestone-label | |
permissions: {} | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
types: | |
- opened | |
- synchronize | |
- edited | |
- reopened | |
- labeled | |
- unlabeled | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check_labels: | |
name: Check milestone label for pull request | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} # dependabot prs do not have to be in milestone | |
steps: | |
- name: require milestone label for pull request | |
uses: docker://agilepathway/pull-request-label-checker:latest | |
with: | |
prefix_mode: true | |
one_of: "milestone" | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |