1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

ci: add newly opened issues to the beta project

This commit is contained in:
vdovhanych 2022-04-21 13:09:41 +02:00 committed by matejcik
parent 49dbc92782
commit d1b86eb6b2

View File

@ -16,7 +16,6 @@ jobs:
if: github.event_name == 'issues' && github.event.action == 'opened' if: github.event_name == 'issues' && github.event.action == 'opened'
run: | run: |
gh issue edit $ISSUE --add-project "Backlog 🗂" gh issue edit $ISSUE --add-project "Backlog 🗂"
gh issue edit $ISSUE --add-project "Issues Firmware"
env: env:
ISSUE: ${{github.event.issue.html_url}} ISSUE: ${{github.event.issue.html_url}}
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
@ -27,3 +26,13 @@ jobs:
env: env:
PULL_REQUEST: ${{github.event.pull_request.html_url}} PULL_REQUEST: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }} 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 }}