Skip to content

Commit

Permalink
chore: add auto assign to project workflow (#353)
Browse files Browse the repository at this point in the history
* chore: add auto assign to project workflow

* Update .github/workflows/auto-assign-to-project.yml

Co-authored-by: Sebastian Herrlinger <[email protected]>

Co-authored-by: Sebastian Herrlinger <[email protected]>
  • Loading branch information
DanielHabenicht and kommander authored Nov 4, 2020
1 parent 49061cd commit da3fc66
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/auto-assign-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 NEW pull requests to Overview Board
uses: srggrs/[email protected]
if: github.event.action == 'opened' && github.event_name == 'pull_request'
with:
project: 'https://github.com/CovOpen/CovMapper/projects/1'
column_name: 'Work in progess'

- name: Assign NEW issues to Overview Board
uses: srggrs/[email protected]
if: github.event.action == 'opened' && github.event_name == 'issues'
with:
project: 'https://github.com/CovOpen/CovMapper/projects/1'
column_name: 'Backlog'

0 comments on commit da3fc66

Please sign in to comment.