35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
# https://github.com/marketplace/actions/assign-to-one-project#:~:text=GitHub%20Action%20for%20Assign%20to,columns%20in%20your%20project%20dashboard.
|
|
name: Auto Assign 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/assign-one-project-github-action@1.2.0
|
|
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/assign-one-project-github-action@1.2.0
|
|
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/assign-one-project-github-action@1.2.0
|
|
if: contains(github.event.pull_request.labels.*.name, 'community')
|
|
with:
|
|
project: "https://github.com/airbytehq/airbyte/projects/15"
|
|
column_name: "To do"
|