Skip to content

Commit

Permalink
Feat(ci): Add workflows referencing Zathras definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
kdvalin committed Feb 11, 2025
1 parent edd2978 commit 425efd8
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/check_review_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
pull_request:
types:
- opened
- labeled

env:
TARGET_LABEL: "group_review_lgtm"

jobs:
check_review_label:
runs-on: ubuntu-latest
steps:
- uses: redhat-performance/zathras/.github/workflows/check_review_label.yml@main
21 changes: 21 additions & 0 deletions .github/workflows/issue_tagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
pull_request_target:
types:
- review_requested
pull_request_review:
types:
- submitted

permissions:
issues: write

env:
ISSUE_STATE: pr_inprogress
REMOVE_ISSUES: --remove-label pr_approved --remove-label pr_review --remove-label pr_inprogress
GH_TOKEN: ${{ github.token }}

jobs:
check_review_label:
runs-on: ubuntu-latest
steps:
- uses: redhat-performance/zathras/.github/workflows/issue_tagging.yml@main
18 changes: 18 additions & 0 deletions .github/workflows/verify_pr_requirement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
workflow_call:
pull_request:
types:
- opened
- edited
branches:
- main

permissions:
contents: read
pull-requests: write # Need write to make comments

jobs:
check_review_label:
runs-on: ubuntu-latest
steps:
- uses: redhat-performance/zathras/.github/workflows/verify_pr_requirements.yml@main

0 comments on commit 425efd8

Please sign in to comment.