[release-v0.38] docs: fix example in prometheus.exporter.agent #849
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: Test Versioned Files | |
on: pull_request | |
jobs: | |
regenerate-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Regenerate versioned files | |
run: | | |
make generate-versioned-files | |
if ! git diff --exit-code; then | |
echo "Newly generated versioned files differ from those checked in. Make sure to only update the templates manually and run 'make generate-versioned-files'!" >&2 | |
exit 1 | |
fi |