Merge pull request #335 from LizBaldo/patch-1 #152
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: CI | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sort and commit repos | |
run: | | |
sh sort.sh | |
if ! git diff --quiet repos-*; then | |
git config user.name "GitHub Actions Bot" | |
git config user.email "<>" | |
git add repos-* | |
git commit -m "Sort repos" | |
git push | |
fi |