Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspaargaren committed Jan 5, 2025
1 parent b99cf7e commit 893ecfd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dns-check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: DNS Weekly Update
on:
schedule:
- cron: '*/10 * * * *' # Temporary runs every 10 minutes
push:
branches:
- test
jobs:
dns-check:
name: Remove domains without NS records
Expand All @@ -11,8 +12,10 @@ jobs:
id: branch_name
run: echo "branch_name=dns-update-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
ref: ${{ env.branch_name }}
- name: Create and switch to the new branch
run: |
git checkout -b ${{ env.branch_name }}
echo "Created and switched to branch ${{ env.branch_name }}"
- run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
Expand Down

0 comments on commit 893ecfd

Please sign in to comment.