Add recipe conformance check for SSE event-contract drift #2
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: Recipe Conformance | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| # Only need to read the diff and the recipe sources | |
| contents: read | |
| jobs: | |
| check-recipes: | |
| name: Check Recipes | |
| runs-on: ubuntu-latest | |
| # Advisory while the open-PR backlog is worked through, so this reports | |
| # findings without blocking a merge. Remove this line to make it a gate. | |
| continue-on-error: true | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 # needed for git diff against the base commit | |
| - name: Set up Python | |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Check recipes touched by this PR | |
| run: >- | |
| python .github/scripts/check_recipes.py | |
| --base ${{ github.event.pull_request.base.sha }} |