Husky: finish supporting > 2 sequence triggers #188
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: Update chipwhisperer minimal | |
on: | |
push: | |
paths: | |
- 'software/**' | |
- 'gen_minimal.sh' | |
- '.github/workflows/update_minimal.yml' | |
jobs: | |
update_minimal: | |
name: Update minimal | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.PRIVATE_TEST_PUSH }} | |
submodules: true | |
- name: do update | |
run: | | |
cd chipwhisperer-minimal | |
git config user.name "ChipWhisperer-Bot" | |
git config user.email "[email protected]" | |
git checkout main | |
cd .. | |
chmod +x gen_minimal.sh | |
./gen_minimal.sh | |
cd chipwhisperer-minimal | |
git add . | |
git diff-index --quiet HEAD || git commit -m "Update minimal" | |
git push | |