diff --git a/.github/workflows/check_review_label.yaml b/.github/workflows/check_review_label.yaml new file mode 100644 index 0000000..ef10137 --- /dev/null +++ b/.github/workflows/check_review_label.yaml @@ -0,0 +1,14 @@ +name: Check for Group Review label + +on: + pull_request: + types: + - opened + - labeled + +env: + TARGET_LABEL: "group_review_lgtm" + +jobs: + check_review_label: + uses: redhat-performance/zathras/.github/workflows/check_review_label.yaml@main \ No newline at end of file diff --git a/.github/workflows/issue_tagging.yaml b/.github/workflows/issue_tagging.yaml new file mode 100644 index 0000000..515e002 --- /dev/null +++ b/.github/workflows/issue_tagging.yaml @@ -0,0 +1,21 @@ +name: Update Parent issue + +on: + pull_request: + 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: + uses: redhat-performance/zathras/.github/workflows/issue_tagging.yaml@main \ No newline at end of file diff --git a/.github/workflows/verify_pr_requirement.yaml b/.github/workflows/verify_pr_requirement.yaml new file mode 100644 index 0000000..7b6b5d7 --- /dev/null +++ b/.github/workflows/verify_pr_requirement.yaml @@ -0,0 +1,18 @@ +name: Verify PR requirements + +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: + uses: redhat-performance/zathras/.github/workflows/verify_pr_requirements.yaml@main \ No newline at end of file