Update checkout and git config for action.
Scrape latest DNS records / scheduled (push) Successful in 16s

This commit is contained in:
2026-05-04 16:34:53 -04:00
parent 77f89df160
commit 98b2d98be3
+4 -3
View File
@@ -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