4.13: limit arches to x86_64, build only in weekends #3083
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: 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 }} |