Skip to content

Remove parked domains #38

Remove parked domains

Remove parked domains #38

Workflow file for this run

name: Remove parked domains
run-name: Remove parked domains
on:
workflow_dispatch:
schedule:
# Run weekly to give external organisations time to flag NRDs.
- cron: '0 4 * * 0'
#workflow_call:
permissions:
contents: write
jobs:
remove-parked-domains:
runs-on: ubuntu-latest
timeout-minutes: 420
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
- name: check_parked.sh
run: bash scripts/check_parked.sh
- 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: prune parked domains"
git push -q