diff --git a/.github/workflows/issues-to-dev-project.yml b/.github/workflows/issues-to-dev-project.yml new file mode 100644 index 000000000..a38a870a9 --- /dev/null +++ b/.github/workflows/issues-to-dev-project.yml @@ -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/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/idaholab/projects/24 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: training + label-operator: OR diff --git a/.github/workflows/issues-to-training-project.yml b/.github/workflows/issues-to-training-project.yml new file mode 100644 index 000000000..f44eb0cf5 --- /dev/null +++ b/.github/workflows/issues-to-training-project.yml @@ -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/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/idaholab/projects/1 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: training + label-operator: NOT