Sync README from stats repo #7735
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: Sync README from stats repo | |
| on: | |
| schedule: | |
| - cron: "0,30 * * * *" # Her saat başı ve 30. dakikada (yarım saatte bir) | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| sync-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout .github repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Download README.md from stats repo | |
| run: | | |
| curl -L -o profile/README.md https://raw.githubusercontent.com/Software-Guardians/stats/main/README.md | |
| - name: Commit and push README.md | |
| run: | | |
| git config user.name "github-actions" | |
| git config user.email "github-actions@github.com" | |
| git add profile/README.md | |
| git commit -m "Sync README.md from stats repo" || exit 0 | |
| git push |