-
Notifications
You must be signed in to change notification settings - Fork 209
34 lines (30 loc) · 1.15 KB
/
add-labeled-issues-to-projects.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# note: this GHA applies only to Github Projects V2 (Beta)
# docs: https://github.com/actions/add-to-project
# Update 4/6/2023: Project Workflows now support "auto-add to project" through web interface.
# See example here: https://github.com/orgs/department-of-veterans-affairs/projects/623/workflows/8064572
name: Add Issues to Github Projects (V2)
on:
issues:
types:
- opened
- labeled
jobs:
cop:
name: Add CoP Issues to Project Board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/department-of-veterans-affairs/projects/815
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
labeled: platform-cop-backend, platform-cop-frontend, platform-cop-devops
label-operator: OR
platform-support:
name: Add Platform Support Issues to Project Board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/department-of-veterans-affairs/projects/813
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
labeled: platform-tech-team-support