Skip to content

Commit 425efd8

Browse files
committed
Feat(ci): Add workflows referencing Zathras definitions
1 parent edd2978 commit 425efd8

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+
on:
2+
pull_request:
3+
types:
4+
- opened
5+
- labeled
6+
7+
env:
8+
TARGET_LABEL: "group_review_lgtm"
9+
10+
jobs:
11+
check_review_label:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: redhat-performance/zathras/.github/workflows/check_review_label.yml@main

.github/workflows/issue_tagging.yml

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

0 commit comments

Comments
 (0)