mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
ci: github project automation update
This commit is contained in:
parent
80655747d0
commit
5814e39895
21
.github/workflows/project_automation.yml
vendored
21
.github/workflows/project_automation.yml
vendored
@ -9,20 +9,19 @@ permissions:
|
|||||||
repository-projects: write
|
repository-projects: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
github-actions-automate-projects:
|
gh-automate-projects:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: add-new-issues-to-repository-based-project-column
|
- name: Add new issue to the Backlog 🗂 project board
|
||||||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1
|
|
||||||
if: github.event_name == 'issues' && github.event.action == 'opened'
|
if: github.event_name == 'issues' && github.event.action == 'opened'
|
||||||
|
run: gh issue edit $ISSUE --add-project "Backlog 🗂 "
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
ISSUE: ${{github.event.issue.html_url}}
|
||||||
GITHUB_PROJECT_URL: https://github.com/trezor/trezor-firmware/projects/1
|
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
|
||||||
GITHUB_PROJECT_COLUMN_NAME: 📥 Inbox
|
|
||||||
- name: add-new-prs-to-repository-based-project-column
|
- name: Add new pull request to the Pull Requests project board
|
||||||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1
|
|
||||||
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
||||||
|
run: gh pr edit $PULL_REQUEST --add-project "Pull Requests"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
PULL_REQUEST: ${{github.event.pull_request.html_url}}
|
||||||
GITHUB_PROJECT_URL: https://github.com/trezor/trezor-firmware/projects/2
|
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
|
||||||
GITHUB_PROJECT_COLUMN_NAME: To be reviewed
|
|
||||||
|
Loading…
Reference in New Issue
Block a user