From d1b86eb6b2555186cb9916eca736d19b50b3da88 Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Thu, 21 Apr 2022 13:09:41 +0200 Subject: [PATCH] ci: add newly opened issues to the beta project --- .github/workflows/project_automation.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/project_automation.yml b/.github/workflows/project_automation.yml index 5c4eb66dc..fbc4aba60 100644 --- a/.github/workflows/project_automation.yml +++ b/.github/workflows/project_automation.yml @@ -16,7 +16,6 @@ jobs: if: github.event_name == 'issues' && github.event.action == 'opened' run: | gh issue edit $ISSUE --add-project "Backlog 🗂" - gh issue edit $ISSUE --add-project "Issues Firmware" env: ISSUE: ${{github.event.issue.html_url}} GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }} @@ -27,3 +26,13 @@ jobs: env: PULL_REQUEST: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }} + + add-to-beta-project: + name: Add new issue to the beta Issues Firmware project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + if: github.event_name == 'issues' && github.event.action == 'opened' + with: + project-url: https://github.com/orgs/trezor/projects/60 + github-token: ${{ secrets.GH_BOT_TOKEN }}