Skip to content

docs: Add New Year, New Goals challenge #695

docs: Add New Year, New Goals challenge

docs: Add New Year, New Goals challenge #695

name: Auto Assign to Project(s)
on:
issues:
types: [opened, labeled]
pull_request:
types: [opened, labeled]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: 'Assign issues with `Lightning Talks: TODO` label to TODO project'
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'Lightning Talks: TODO')
with:
project: 'https://github.com/Virtual-Coffee/VC-Contributors/projects/1'
column_name: 'To do'
- name: 'Assign issues with `Lightning Talk: Individual Talk` label to planning project'
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'Lightning Talk: Individual Talk')
with:
project: 'https://github.com/Virtual-Coffee/VC-Contributors/projects/2'
column_name: 'Unassigned'
- name: 'Assign issues with `Lightning Talks: Post-production` label to post production project'
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'Lightning Talks: Post-production')
with:
project: 'https://github.com/Virtual-Coffee/VC-Contributors/projects/6'
column_name: 'Inbox'
- name: 'Assign issues with `Lunch & Learn: Event` label to Lunch & Learn planning project'
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'Lunch & Learn: Event')
with:
project: 'https://github.com/Virtual-Coffee/VC-Contributors/projects/5'
column_name: 'Inbox'
- name: 'Assign issues with `Lunch & Learn: Post-production` label to post-production project'
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.issue.labels.*.name, 'Lunch & Learn: Post-production')
with:
project: 'https://github.com/Virtual-Coffee/VC-Contributors/projects/6'
column_name: 'Inbox'
- name: 'Assign pull requests with `Lunch & Learn: Post-production` label to post-production project'
uses: srggrs/assign-one-project-github-action@1.2.0
if: |
contains(github.event.pull_request.labels.*.name, 'Lunch & Learn: Post-production')
with:
project: 'https://github.com/Virtual-Coffee/VC-Contributors/projects/6'
column_name: 'Inbox'