Skip to content

Commit

Permalink
tweak weekly check to regenerate and commit sankey diagram if tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Oct 10, 2024
1 parent 2ebe649 commit 35adc67
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/weekly-url-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ jobs:
pip install poetry
poetry install
- name: Run URL validation
- name: Run URL validation and regenerate sankey diagram
run: |
make validate_infores
make sankey
make test
if [ $? -eq 0 ]; then
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add project/*
git add src/*
git add infores_catalog.yaml
git commit -m "Regenerate data_flow diagram and validate URLs in infores_catalog.yaml"
git push
else
echo "'make' validation and sankey generation failed to finish successfully"
fi

0 comments on commit 35adc67

Please sign in to comment.