From bab57a7d90810f49f6b91be4e341bbe810de96c1 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 28 Apr 2021 12:38:58 +1000 Subject: [PATCH] Use maintained GH action --- .github/workflows/add-action-project.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/add-action-project.yml b/.github/workflows/add-action-project.yml index a33e8d954b..c399132fa5 100644 --- a/.github/workflows/add-action-project.yml +++ b/.github/workflows/add-action-project.yml @@ -1,16 +1,15 @@ -on: - issues: - types: opened +name: Add new issues to js-waku project board + +on: [issues] jobs: - assign_issue_to_project: + add-issue: runs-on: ubuntu-latest - name: Assign new issue to project steps: - - name: Create new project card with issue - id: list - uses: qmacro/action-add-issue-to-project-column@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - project: 'js-waku' - column: 'New' + - name: Move new issues into New + if: github.event_name == 'issues' && github.event.action == 'opened' + uses: alex-page/automate-project-columns@master + with: + project: js-waku + column: New + repo-token: ${{ secrets.GITHUB_TOKEN }}