Skip to content

Bump stackexchange/dnscontrol from 4.12.1 to 4.13.0 in /docker #86

Bump stackexchange/dnscontrol from 4.12.1 to 4.13.0 in /docker

Bump stackexchange/dnscontrol from 4.12.1 to 4.13.0 in /docker #86

name: Check file and Preview DNS changes
on: pull_request
jobs:
check:
if: github.actor!= 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- name: DNSControl check
uses: wblondel/dnscontrol-action@v4.12.1
with:
args: check
preview:
if: github.actor!= 'dependabot[bot]'
runs-on: ubuntu-latest
env:
DESEC_API_TOKEN: ${{ secrets.DESEC_API_TOKEN }}
OVH_APP_KEY: ${{ secrets.OVH_APP_KEY }}
OVH_APP_SECRET_KEY: ${{ secrets.OVH_APP_SECRET_KEY }}
OVH_CONSUMER_KEY: ${{ secrets.OVH_CONSUMER_KEY }}
needs: check
steps:
- uses: actions/checkout@v4.1.6
- name: DNSControl preview
uses: wblondel/dnscontrol-action@v4.12.1
id: dnscontrol_preview
with:
args: preview
- name: Comment diff on PR
uses: unsplash/comment-on-pr@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: |
```
${{ steps.dnscontrol_preview.outputs.preview_comment }}
```
check_for_duplicate_msg: false