diff --git a/.gitea/workflows/scrape.yml b/.gitea/workflows/scrape.yml index 316d9e2..4366b14 100644 --- a/.gitea/workflows/scrape.yml +++ b/.gitea/workflows/scrape.yml @@ -2,6 +2,7 @@ name: Scrape latest DNS records on: workflow_dispatch: + push: schedule: - cron: '0 * * * *' @@ -10,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repo - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Fetch latest DNS records env: @@ -19,8 +20,8 @@ jobs: - name: Commit and push if it changed run: |- - git config user.name "Automated" - git config user.email "actions@git.arirex.me" + git config user.name "gitea-actions[bot]" + git config user.email "gitea-actions[bot]@git.arirex.me" git add -A git commit -m "Latest DNS records: $(date -u)" || exit 0 git push