name: Auto build new list on: schedule: - cron: "25 01 */3 * *" jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@main - name: Run start-ci.sh run: | sudo update-alternatives --set php /usr/bin/php7.4 ./scripts/start-ci.sh - name: Commit files run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add * git commit -m "Auto renew the anti-AD list." -a - name: Push changes uses: ad-m/github-push-action@master with: github_token: ${{ secrets.PERSON_TOKEN }} branch: 'master'