Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
Signed-off-by: David Greven <[email protected]>
  • Loading branch information
grevend committed Sep 10, 2022
0 parents commit 0e1fb05
Show file tree
Hide file tree
Showing 10 changed files with 10,409 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/moscow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: MoSCoW Prioritization

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

jobs:
check:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: grevend/[email protected]
with:
token: "${{ secrets.GITHUB_TOKEN }}"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
lib/
.DS_Store
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 David Greven

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# MoSCoW Prioritization

MoSCoW prioritization action to manage label-based requirements prioritization

## Usage

```yml
name: MoSCoW Prioritization

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

jobs:
check:
permissions:
contents: read
pull-requests: write
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_
16 changes: 16 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: MoSCoW Pull Request Prioritization
description: 'MoSCoW Prioritization action to manage label-based requirements prioritization'
author: 'grevend'

branding:
icon: 'check-circle'
color: 'gray-dark'

inputs:
token:
description: 'The workflows GITHUB_TOKEN secret'
required: true

runs:
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 0e1fb05

Please sign in to comment.