Update unbound root hints #13
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: "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@a4f52f8033a6168103c2538976c07b467e8163bc # v6.0.1 | |
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. |