Skip to content

Commit

Permalink
added action for categorizing issues with project
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Jan 15, 2024
1 parent ba3b8b4 commit 56cd8e4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/issues-to-dev-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Adds all issues that include the 'training' label to Malcolm Training project board

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/idaholab/projects/24
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: training
label-operator: OR
18 changes: 18 additions & 0 deletions .github/workflows/issues-to-training-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Adds all issues that don't include the 'training' label to Malcolm project board

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/idaholab/projects/1
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: training
label-operator: NOT

0 comments on commit 56cd8e4

Please sign in to comment.