Merge pull request #291 from djx314/patch-1 #109
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 |