diff --git a/.github/workflows/add-issue-to-project-board.yml b/.github/workflows/add-issue-to-project-board.yml new file mode 100644 index 0000000..896f2e7 --- /dev/null +++ b/.github/workflows/add-issue-to-project-board.yml @@ -0,0 +1,18 @@ +name: Add issue to task board + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add to task board + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + # You can target a project in a different organization + # to the issue + project-url: https://github.com/orgs/vacp2p/projects/10 + github-token: ${{ secrets.ADD_TO_VAC_BOARD_PAT }} diff --git a/.github/workflows/add-pr-to-project-board.yml b/.github/workflows/add-pr-to-project-board.yml new file mode 100644 index 0000000..41ab024 --- /dev/null +++ b/.github/workflows/add-pr-to-project-board.yml @@ -0,0 +1,16 @@ +name: Add PR task board + +on: + pull_request: + +jobs: + add-to-project: + name: Add to task board + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + # You can target a project in a different organization + # to the issue + project-url: https://github.com/orgs/vacp2p/projects/10 + github-token: ${{ secrets.ADD_TO_VAC_BOARD_PAT }}