Handle kubevirt control plane NodePlacement on hypershift clusters #88078
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Override Bot | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
override: | |
name: Check for redundant CI lanes for override | |
if: (github.event.issue.pull_request != '') && (contains(github.event.comment.body, '/override-bot')) && (github.repository == 'kubevirt/hyperconverged-cluster-operator') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the latest code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.7' | |
architecture: 'x64' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests PyGithub | |
- name: Override redundant lanes across open PRs | |
run: python ./automation/override-bot/override-bot.py | |
env: | |
HCO_BOT_TOKEN: ${{ secrets.HCO_BOT_TOKEN }} |