feat(actions): add a workflow to automatically add new Zebra issues to projects (#6008)
* Add job to automatically add new Zebra issues to projects * Apply suggestions from code review Co-authored-by: Arya <aryasolhi@gmail.com> * fix(actions): move to the workflows folder and add TODO * chore: lint Co-authored-by: Gustavo Valverde <gustavo@iterativo.do> Co-authored-by: Arya <aryasolhi@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
69a64b6db6
commit
c92f7b0150
|
@ -0,0 +1,28 @@
|
|||
# Configuration for automatically adding issues to various Github projects for Project Management purposes
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
# Automatically add issues and PRs to the "Zebra Backlog" Github project.
|
||||
add-issue-to-zebra-backlog-project:
|
||||
name: Adds all new issues to the "Zebra Backlog" Github project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/add-to-project@v0.4.0
|
||||
with:
|
||||
project-url: https://github.com/orgs/ZcashFoundation/projects/9
|
||||
# TODO: use a PAT from a `bot` account we create for the organization
|
||||
github-token: ${{ secrets.ACTIONS_PM_GITHUB_PROJECTS }}
|
||||
|
||||
# Automatically add issues and PRs to the "Engineering Backlog" Github project.
|
||||
add-issue-to-zf-backlog-project:
|
||||
name: Adds all new issues to the "ZF Engineering Backlog" Github project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/add-to-project@v0.4.0
|
||||
with:
|
||||
project-url: https://github.com/orgs/ZcashFoundation/projects/13
|
||||
# TODO: use a PAT from a `bot` account we create for the organization
|
||||
github-token: ${{ secrets.ACTIONS_PM_GITHUB_PROJECTS }}
|
Loading…
Reference in New Issue