Skip to content

Check Membership Pull Request #156

Check Membership Pull Request

Check Membership Pull Request #156

Workflow file for this run

name: Check Membership Pull Request
on:
pull_request:
paths:
- "config/opendatahub-io/org.yaml"
pull_request_review:
jobs:
check-membership-approvals:
runs-on: ubuntu-latest
container:
image: quay.io/opendatahub/org-management-checker:v0.0.4
steps:
- uses: actions/checkout@v3
- name: Run PR validation
id: pr-validation
run: python3 /tmp/main.py
env:
TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_NUMBER: ${{github.event.pull_request.number}}
REPO: ${{github.repository}}
- name: Save PR number
if: steps.pr-validation.outcome == 'success'
run: |
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v2
if: steps.pr-validation.outcome == 'success'
with:
name: pr
path: pr/