[patch] add dependabot #4
Workflow file for this run
This file contains hidden or 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: Golden output | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify-golden-output: | |
| name: Verify golden output | |
| runs-on: ubuntu-latest | |
| environment: maintainer-approval | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Install Ansible | |
| run: sudo apt-get update && sudo apt-get install -y --no-install-recommends ansible | |
| - name: Render golden output | |
| run: make test | |
| - name: Verify golden output is committed | |
| run: | | |
| if [ -n "$(git status --porcelain -- tests/golden_output)" ]; then | |
| git diff -- tests/golden_output | |
| echo "::error::tests/golden_output is out of date. Run 'make test' and commit the updated golden output." | |
| exit 1 | |
| fi |