This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
Update README.md #331
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 |