Skip to content

Commit

Permalink
Add kanban automation for new pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
javierm committed Jun 8, 2022
1 parent 494f1de commit af6b686
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/kanban.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Assign new pull requests
on:
pull_request_target:
types: [opened, reopened]
env:
MY_GITHUB_TOKEN: ${{ secrets.KANBAN_TOKEN }}

jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign new pull requests
steps:
- name: Assign new pull requests to the reviewing column
uses: srggrs/[email protected]
if: github.event.pull_request.draft == true
with:
project: "https://github.com/users/javierm/projects/4"
column_name: "Reviewing"

- name: Assign new draft pull requests to the doing column
uses: srggrs/[email protected]
if: github.event.pull_request.draft == false
with:
project: "https://github.com/users/javierm/projects/4"
column_name: "Doing"

0 comments on commit af6b686

Please sign in to comment.