Skip to content

Commit bfe71fb

Browse files
authored
Add GitHub workflows to help enforce our current processes (#32)
2 parents 6a5b25f + d288b26 commit bfe71fb

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Check for Group Review label
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- labeled
8+
9+
env:
10+
TARGET_LABEL: "group_review_lgtm"
11+
12+
jobs:
13+
check_review_label:
14+
uses: redhat-performance/zathras/.github/workflows/check_review_label.yaml@main

.github/workflows/issue_tagging.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Update Parent issue
2+
3+
on:
4+
pull_request:
5+
types:
6+
- review_requested
7+
pull_request_review:
8+
types:
9+
- submitted
10+
11+
permissions:
12+
issues: write
13+
14+
env:
15+
ISSUE_STATE: pr_inprogress
16+
REMOVE_ISSUES: --remove-label pr_approved --remove-label pr_review --remove-label pr_inprogress
17+
GH_TOKEN: ${{ github.token }}
18+
19+
jobs:
20+
check_review_label:
21+
uses: redhat-performance/zathras/.github/workflows/issue_tagging.yaml@main
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Verify PR requirements
2+
3+
on:
4+
workflow_call:
5+
pull_request:
6+
types:
7+
- opened
8+
- edited
9+
branches:
10+
- main
11+
12+
permissions:
13+
contents: read
14+
pull-requests: write # Need write to make comments
15+
16+
jobs:
17+
check_review_label:
18+
uses: redhat-performance/zathras/.github/workflows/verify_pr_requirements.yaml@main

0 commit comments

Comments
 (0)