From e6c0853e24af1b5826165c1154208b51483dcd2c Mon Sep 17 00:00:00 2001 From: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> Date: Wed, 31 Aug 2022 13:09:25 +0200 Subject: [PATCH] chore: add new issues to waku project board (#1101) * add new issues to waku project board * remove action adding to previous deprecated project board --- .github/workflows/add-action-project.yml | 26 ------------------------ .github/workflows/add-to-project.yml | 18 +++++++++++++--- 2 files changed, 15 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/add-action-project.yml diff --git a/.github/workflows/add-action-project.yml b/.github/workflows/add-action-project.yml deleted file mode 100644 index 0b949e72e..000000000 --- a/.github/workflows/add-action-project.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Add new issues and PRs to nim-waku project board - -on: - issues: - types: [opened] - pull_request: - types: [opened] - -jobs: - add-new-issue-to-new-column: - runs-on: ubuntu-latest - steps: - - name: Add issue to column "New" - if: ${{ !!github.event.issue }} - uses: alex-page/github-project-automation-plus@v0.6.0 - with: - project: nim-waku - column: New - repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }} - - name: Add pull request to column "Review/QA" - if: ${{ !!github.event.pull_request }} - uses: alex-page/github-project-automation-plus@v0.6.0 - with: - project: nim-waku - column: Review/QA - repo-token: ${{ secrets.GH_ACTION_PROJECT_MGMT }} diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 27971d953..5892c9447 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -1,4 +1,4 @@ -name: Add new issues and PRs to Vac Research project board +name: Add new issues and PRs to Vac and Waku project boards on: issues: @@ -7,8 +7,8 @@ on: types: [opened] jobs: - add-to-project: - name: Add issue to project + add-to-vac-project: + name: Add issue to Vac project board runs-on: ubuntu-latest steps: - uses: actions/add-to-project@v0.3.0 @@ -20,3 +20,15 @@ jobs: # NOTE Currently all issues are added, might want to limit this #labeled: bug, needs-triage #label-operator: OR + add-to-waku-project: + name: Add issue to Waku project board + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.3.0 + with: + # You can target a repository in a different organization + # to the issue + project-url: https://github.com/orgs/waku-org/projects/2 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: track:maintenance, track:production + label-operator: OR