Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PR/Issue workflows #38

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/check_review_label.yaml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions .github/workflows/issue_tagging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update Parent issue

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:
uses: redhat-performance/zathras/.github/workflows/issue_tagging.yaml@main
18 changes: 18 additions & 0 deletions .github/workflows/verify_pr_requirement.yaml
Original file line number Diff line number Diff line change
@@ -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
Loading