Skip to content

Commit 8e72489

Browse files
committed
Add Github Actions for issues+PRs
1 parent 4ac7c6b commit 8e72489

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/issues.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Automate project columns
2+
3+
on: [issues, pull_request]
4+
5+
jobs:
6+
automate-project-columns:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Move new issues into Triage
10+
if: github.event_name == 'issues' && github.event.action == 'opened'
11+
uses: aareet/[email protected]
12+
with:
13+
project: Kubernetes Triage
14+
column: Needs triage
15+
repo-token: ${{ secrets.k8s_github_actions }}
16+
17+
- name: Move new pull requests into Triage
18+
if: github.event_name == 'pull_request' && github.event.action == 'opened'
19+
uses: aareet/[email protected]
20+
with:
21+
project: Kubernetes Triage
22+
column: Needs triage
23+
repo-token: ${{ secrets.k8s_github_actions }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Automate labeled issues
2+
on:
3+
issues:
4+
types: [labeled]
5+
jobs:
6+
Move_Labeled_Issue_On_Project_Board:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: aareet/[email protected]
10+
with:
11+
action-token: "${{ secrets.k8s_github_actions }}"
12+
project-url: "https://github.com/orgs/terraform-providers/projects/19"
13+
column-name: "Blocked"
14+
label-name: "waiting-response"

0 commit comments

Comments
 (0)