Skip to content

Commit

Permalink
Create Github Action workflow for PRs and Issues (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Mar 4, 2020
1 parent b9d2c5c commit b742190
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/backlog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

name: Backlog
on:
issues:
types: [opened, reopened]
pull_request:
types: [opened, reopened]

jobs:
add_issue:
name: "Add Issue"
if: github.event_name == 'issue'
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@9a05133
with:
project: Backlog
column: Inbox
repo-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

add_pull_request:
name: "Add Pull Request"
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@9a05133
with:
project: Backlog
column: In progress
repo-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 comments on commit b742190

Please sign in to comment.