[4.15] rhel9 builds should happen in rhel9 branches/tags #447
Workflow file for this run
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: Run ocp-build-data-validator | |
on: | |
pull_request: | |
branches: | |
- 'openshift-**' | |
paths: | |
- '**.yml' | |
- 'rpms/**.yml' | |
- 'images/**.yml' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install validator | |
run: pip3 install https://github.com/openshift-eng/ocp-build-data-validator/archive/master.zip | |
- name: Get all relevant files that have changed | |
id: changed-files | |
uses: tj-actions/changed-files@v37 | |
with: | |
files_yaml: | | |
config: | |
- 'streams.yml' | |
- 'group.yml' | |
- 'releases.yml' | |
- 'bug.yml' | |
- 'rpms/**.yml' | |
- 'images/**.yml' | |
- name: Run validator | |
if: steps.changed-files.outputs.config_any_changed == 'true' | |
run: validate-ocp-build-data --exclude-vpn ${{ steps.changed-files.outputs.config_all_changed_files }} |