From 3129f0ef05f92551964e73e1f1b8a757e04e2b99 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Tue, 11 Aug 2026 23:43:31 +0000 Subject: [PATCH] [puppetsync] Add a REFERENCE.md freshness check to PR tests This patch updates pr_tests.yml from the reconciled puppetsync template, whose `reference` job now fails when REFERENCE.md is out of sync with the module's strings docs (`rake validate:strings`), and regenerates REFERENCE.md so the new check starts green. Repo-specific `jobs.acceptance` blocks are preserved as-is. --- .github/workflows/pr_tests.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 22ddc9f..9737bb1 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -70,6 +70,19 @@ jobs: - run: bundle exec rake check:dot_underscore - run: bundle exec rake check:test_file + reference: + name: 'REFERENCE.md freshness' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - name: 'Install Ruby 3.4' + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.4.9 + bundler-cache: true + - name: 'Check REFERENCE.md freshness' + run: bundle exec rake validate:strings + releng-checks: name: 'RELENG checks' runs-on: ubuntu-latest @@ -122,3 +135,4 @@ jobs: - run: 'command -v rpm || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y rpm; fi ||:' - run: 'bundle exec rake parallel_spec' continue-on-error: ${{matrix.puppet.experimental}} +