Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add auto assign to project workflow #353

Merged
merged 2 commits into from
Nov 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'