Update docs and fix workflow #2
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: Mixins | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
mixins: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
persist-credentials: true | |
- name: Render mixins | |
run: make | |
- name: Push changes | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@noreply.github.com" | |
git add . | |
if git diff --staged --quiet; then | |
echo "No changes detected. Skipping ..." | |
else | |
git commit -m "Update rendered mixins" | |
git push | |
fi |