forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1.4 KB
/
assign-issue-to-project.yaml
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
# https://github.com/marketplace/actions/assign-to-one-project#:~:text=GitHub%20Action%20for%20Assign%20to,columns%20in%20your%20project%20dashboard.
name: Assign Issue to Airbyte Github Project
on:
issues:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to Airbyte Github Project
steps:
- name: Assign documentation issues to the Documentation Roadmap project
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'area/documentation') ||
contains(github.event.pull_request.labels.*.name, 'area/documentation')
with:
project: "https://github.com/airbytehq/airbyte/projects/4"
column_name: "Needs Triage"
- name: Assign New Community Issues to Github Project
uses: srggrs/[email protected]
if: contains(github.event.issue.labels.*.name, 'community')
with:
project: "https://github.com/airbytehq/airbyte/projects/16"
column_name: "To do"
- name: Assign New Community PR to Github Project
uses: srggrs/[email protected]
if: contains(github.event.pull_request.labels.*.name, 'community')
with:
project: "https://github.com/airbytehq/airbyte/projects/15"
column_name: "To do"