Skip to content

Commit

Permalink
Automatically commit updated files to lib/
Browse files Browse the repository at this point in the history
For #302
  • Loading branch information
adamwolf authored Mar 23, 2023
1 parent 7a6bfdf commit eff4358
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ jobs:
run: |
npm ci
npm run clean compile
- name: Update lib/ if necessary
git config user.name "lib/ helper"
git config user.email "[email protected]"
git diff lib/ --quiet || (git add lib/ && git commit -m "Regenerate lib/" && git push")

- name: Check for changes
run: |
git diff --exit-code
git diff --exit-code

0 comments on commit eff4358

Please sign in to comment.