-
-
Notifications
You must be signed in to change notification settings - Fork 208
28 lines (27 loc) · 880 Bytes
/
backlog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Backlog
on:
issues:
types: [opened, reopened]
pull_request:
types: [opened, reopened]
jobs:
add_to_backlog:
name: "Add to Backlog Project Board"
runs-on: ubuntu-latest
env:
gh_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
steps:
- name: 'Add Issue'
if: ${{ github.event_name == 'issues' && env.gh_token }}
uses: alex-page/github-project-automation-plus@9a05133789dbc96bd560ec84223a0ad49253d342
with:
project: Backlog
column: Inbox
repo-token: ${{ env.gh_token }}
- name: "Add Pull Request"
if: ${{ github.event_name == 'pull_request' && env.gh_token }}
uses: alex-page/github-project-automation-plus@9a05133789dbc96bd560ec84223a0ad49253d342
with:
project: Backlog
column: In progress
repo-token: ${{ env.gh_token }}