Skip to content

Rename the yaml file for failing branch config verify #1973

Rename the yaml file for failing branch config verify

Rename the yaml file for failing branch config verify #1973

Workflow file for this run

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: git clone https://github.com/openshift-eng/art-tools && cd art-tools/ocp-build-data-validator && pip install .
- 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 }}