diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml new file mode 100644 index 0000000000..45ce2c5e10 --- /dev/null +++ b/.github/workflows/stats.yml @@ -0,0 +1,32 @@ +name: Stats + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + build: + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Run script + run: python ./Roadmap/stats.py + + - name: Commit and Push changes + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Update stats + commit_user_name: Brais Moure [GitHub Actions] + commit_user_email: mouredev@gmail.com + commit_author: mouredev