Skip to content

GitHub Action #3634

Closed Answered by misilot
misilot asked this question in Q&A
Jun 20, 2025 · 3 comments
Discussion options

You must be logged in to vote

Thank you so much! This worked great. Just curious if there is an official GitHub Action for DNS Control?

      - name: Install DNS Control
        uses: gacts/install-dnscontrol@v1

      - name: DNSControl check
        run: dnscontrol check

      - name: DNSControl preview
        id: dnscontrol_preview
        run: |
          dnscontrol_results=$(dnscontrol --no-colors preview --creds creds.github.json)
          # Truncate if too long to avoid GitHub Action comment limits (optional)
          echo "dnscontrol_results<<EOF" >> $GITHUB_OUTPUT
          echo "$dnscontrol_results" >> $GITHUB_OUTPUT
          echo "EOF" >> $GITHUB_OUTPUT

      - if: ${{ !cancelled() }}
        name: At…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by misilot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants