Skip to content

chore(deps): bump peter-evans/find-comment from 3 to 4 #112

chore(deps): bump peter-evans/find-comment from 3 to 4

chore(deps): bump peter-evans/find-comment from 3 to 4 #112

Workflow file for this run

name: Preview
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
on:
pull_request: {}
workflow_dispatch: {}
jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install DNSControl
uses: gacts/install-dnscontrol@v1
#with:
# version: 3.20.0 # `latest` by default, but you can set a specific version to install
#
- name: Connect to Tailscale
uses: tailscale/github-action@v3
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:github-runner
- name: DNSControl preview
id: dnscontrol_preview
run: ./ci.sh cipreview
env:
CLOUDFLARE_ACCOUNTID: ${{ secrets.CLOUDFLARE_ACCOUNTID }}
CLOUDFLARE_APITOKEN: ${{ secrets.CLOUDFLARE_APITOKEN }}
TSIG_CI: ${{ secrets.TSIG_CI }}
- name: Find Comment
uses: peter-evans/find-comment@v4
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: github-actions[bot]
body-includes: preview output
- name: Create or update comment
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
```
preview output:
${{ steps.dnscontrol_preview.outputs.stdout }}
${{ steps.dnscontrol_preview.outputs.stderr }}
```
edit-mode: replace