Skip to content

Close PR

Close PR #12

Workflow file for this run

name: Close PR
on:
workflow_dispatch:
inputs:
repo:
description: Repo slug where PR should be closed
required: true
type: choice
options:
- k8s-operatorhub/community-operators
- redhat-openshift-ecosystem/community-operators-prod
prNumber:
description: PR number to close
required: true
type: string
jobs:
update:
name: Close PR
runs-on: ubuntu-latest
steps:
- name: Close PR
run: |
gh pr close https://github.com/${{ github.event.inputs.repo }}/pull/${{ github.event.inputs.prNumber }}
env:
GH_TOKEN: ${{ secrets.VM_BOT_GH_TOKEN }}