Skip to content

Add Icinga notification template imports #15

Add Icinga notification template imports

Add Icinga notification template imports #15

Workflow file for this run

---
name: Check generated testcases
on: # yamllint disable-line rule:truthy
pull_request:
branches: [main]
paths:
- 'plugins/modules/*.py'
- 'examples/**'
- 'hacking/**'
- 'tests/**'
- '.github/workflows/test_gen.yml'
concurrency:
group: >-
${{ github.workflow }}-${{
github.event.pull_request.number || github.sha
}}
cancel-in-progress: true
jobs:
test_gen:
name: re-generate tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 0
- uses: chrisdickinson/setup-yq@3d931309f27270ebbafd53f2daee773a82ea1822 # v1.0.1
with:
yq-version: 3.4.1
- run: |
./hacking/update_examples_and_tests.sh
if [[ -n $(git status --porcelain) ]]; then
echo "::error ::You need to re-generate tests with './hacking/update_examples_and_tests.sh' (see CONTRIBUTING.md)"
exit 1
fi