Files
allwpilib/.github/workflows/pregenerate.yml
Gold856 330254890a [ci] Enable merge queue support (#9050)
Run Bazel and other repo cleanliness checks on merge queue additions to
ensure PRs are good before merging.
2026-07-03 22:33:26 -07:00

36 lines
871 B
YAML

name: Check Pregenerated Files
on:
merge_group:
pull_request:
push:
branches-ignore:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
update:
name: "Update"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Run pregen
uses: ./.github/actions/pregen
- name: Add untracked files to index so they count as changes
run: git add -A
- name: Check output
run: git --no-pager diff --exit-code HEAD
- name: Generate diff
run: git diff HEAD > pregenerated-files-fixes.patch
if: ${{ failure() }}
- uses: actions/upload-artifact@v7
with:
archive: false
path: pregenerated-files-fixes.patch
if: ${{ failure() }}