Finalize generation script #7
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: Verify updated gitops resources | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
verify-updated-gitops-resources: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Run generate.sh and check if the ai-lab-app based charts are up-to-date | |
run: | | |
bash generate.sh | |
if [[ ! -z $(git status -s) ]] | |
then | |
echo 'The script `./generate.sh` did introduce changes, which should ideally be checked in as part of the PR.' | |
git status | |
exit 1 | |
fi |