mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
ci: auto add new pull requests to the specified project and column
This commit is contained in:
parent
678ff15170
commit
2bcbbec0a2
9
.github/workflows/project_automation.yml
vendored
9
.github/workflows/project_automation.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: Add to GitHub Project
|
name: Add to GitHub Project
|
||||||
on: [issues]
|
on: [issues, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
github-actions-automate-projects:
|
github-actions-automate-projects:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -11,3 +11,10 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_PROJECT_URL: https://github.com/trezor/trezor-firmware/projects/1
|
GITHUB_PROJECT_URL: https://github.com/trezor/trezor-firmware/projects/1
|
||||||
GITHUB_PROJECT_COLUMN_NAME: 📥 Inbox
|
GITHUB_PROJECT_COLUMN_NAME: 📥 Inbox
|
||||||
|
- name: add-new-prs-to-repository-based-project-column
|
||||||
|
uses: docker://takanabe/github-actions-automate-projects:v0.0.1
|
||||||
|
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GITHUB_PROJECT_URL: https://github.com/trezor/trezor-firmware/projects/2
|
||||||
|
GITHUB_PROJECT_COLUMN_NAME: To be reviewed
|
||||||
|
Loading…
Reference in New Issue
Block a user