Merge pull request #632 from halotukozak/patch-2 #433
This file contains hidden or 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 |