Imports Validation Schemas into the Examples README during CI #3
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: Check examples README manual updates | |
on: | |
pull_request: | |
paths: | |
- 'examples/README.md' | |
jobs: | |
verification: | |
runs-on: ubuntu-latest | |
steps: | |
- if: contains(github.head_ref, 'automation-examples-readme') | |
name: pass | |
run: echo "The update is made by the bot, as expected." | |
- if: contains(github.head_ref, 'automation-examples-readme') == false | |
name: fail | |
run: | | |
echo "The file examples/README.md should not be manually edited !" | |
echo "Please update examples/README_TEMPLATE.md instead" | |
exit 1 |