Skip to content

Bump actions/checkout from 4.1.1 to 4.1.5 #69

Bump actions/checkout from 4.1.1 to 4.1.5

Bump actions/checkout from 4.1.1 to 4.1.5 #69

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.5
- name: DNSControl check
uses: wblondel/dnscontrol-action@v4.10.0
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.5
- name: DNSControl preview
uses: wblondel/dnscontrol-action@v4.10.0
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