Skip to content

Bump actions/checkout from 4.1.6 to 4.2.0 #87

Bump actions/checkout from 4.1.6 to 4.2.0

Bump actions/checkout from 4.1.6 to 4.2.0 #87

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.2.0
- 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.2.0
- 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