Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-circle

GitHub Action

MoSCoW Pull Request Prioritization

v1.2.0

MoSCoW Pull Request Prioritization

check-circle

MoSCoW Pull Request Prioritization

MoSCoW Prioritization action to manage label-based requirements prioritization

Installation

Copy and paste the following snippet into your .yml file.

              

- name: MoSCoW Pull Request Prioritization

uses: grevend/[email protected]

Learn more about this action in grevend/moscow-prioritization

Choose a version

MoSCoW Prioritization

MoSCoW prioritization action to manage label-based requirements prioritization

Usage

name: MoSCoW Prioritization

on:
  pull_request_target:
    types: [ labeled, opened, unlabeled, reopened ]

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref }}
  cancel-in-progress: true

permissions:
  contents: read
  issues: write
  pull-requests: write

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: grevend/[email protected]
        with:
          token: '${{ secrets.GITHUB_TOKEN }}'

Note: This action requires access to the GITHUB_TOKEN to call GitHub's REST API

All options

Input Description Default
token The workflows GITHUB_TOKEN secret
wont-have-label Label to expect on low-priority PRs wont have
could-have-label Label to expect on PRs of little relevance could have
should-have-label Label to expect on non-critical PRs should have
must-have-label Label to expect on essential PRs must have
fail-if-missing-label Unprioritized PRs should fail the action true