Skip to content

Update unbound root hints #8

Update unbound root hints

Update unbound root hints #8

name: "Update unbound root hints"
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
jobs:
update-root-hints:
name: Update unbound root hints
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ secrets.BOT_FILE_UPDATE_TOKEN }}
- name: Update root hints
run: curl --output images/unbound/root.hints https://www.internic.net/domain/named.cache
- name: Create Pull Request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
with:
token: ${{ secrets.BOT_FILE_UPDATE_TOKEN }}
branch: chore/update-unbound-root-hints
title: "chore(patch): update root hints"
body: |
This updates the root.hints file for unbound. As usual, the Arch wiki has a good explanation: https://wiki.archlinux.org/title/unbound#Root_hints.