dns

DNS Deployment for nordgedanken.dev infra.
git clone git://archive.git.mtrnord.blog/Nordgedanken/dns.git
Log | Files | Refs

commit adf5cc69caac72062fa46d65fcd0827c947034d2
parent 78652aad6a27f63d97ceca65c8e4ad4ffffb3ee7
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 10 Oct 2023 18:51:57 +0200

Fix PR flow

Diffstat:
M.github/workflows/pullrequest.yml | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml @@ -4,6 +4,9 @@ on: push: branches: [main] pull_request: + paths: + - '*.yaml' + - '!.github/**' jobs: linting: runs-on: ubuntu-latest @@ -13,6 +16,9 @@ jobs: - name: Run yamllint run: yamllint . validate: + permissions: + issues: write + pull-requests: write needs: linting if: ${{ github.event_name == 'pull_request' }} runs-on: ubuntu-latest @@ -25,6 +31,10 @@ jobs: - uses: solvaholic/octodns-sync@main with: config_path: config/production.yaml + env: + POWERDNS_API_KEY_NS1: ${{ secrets.POWERDNS_API_KEY_NS1 }} + POWERDNS_API_KEY_NS2: ${{ secrets.POWERDNS_API_KEY_NS2 }} + POWERDNS_API_KEY_NS3: ${{ secrets.POWERDNS_API_KEY_NS3 }} - name: Get plan output id: meta run: |