Check for parked domains #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for parked domains | |
run-name: Check for parked domains | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run weekly to give external organisations time to flag NRDs. | |
- cron: '0 11 * * 0' | |
workflow_call: | |
permissions: | |
contents: write | |
jobs: | |
check-parked-domains: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: check_parked.sh | |
run: bash scripts/check_parked.sh checkparked | |
- name: Push | |
run: | | |
git config user.email ${{ vars.GIT_EMAIL }} | |
git config user.name ${{ vars.GIT_USERNAME }} | |
git add . | |
git diff-index --quiet HEAD || git commit -m "CI: check for parked domains" | |
git push -q |