From 2f4480b2f6abef36fadb7ce7bace46ab6044e5e2 Mon Sep 17 00:00:00 2001 From: Jon <66625200+Kyro3400@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:42:46 -0500 Subject: [PATCH] Update validation.yml --- .github/workflows/validation.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index a6768ac1..c5c5d8f0 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -17,12 +17,12 @@ on: concurrency: group: ${{ github.ref }}-validation cancel-in-progress: true - + jobs: dns: - name: DNS - runs-on: ubuntu-latest - steps: + name: DNS + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} @@ -37,15 +37,15 @@ jobs: id: dns_check uses: is-a-dev/dnscontrol-action@main with: - args: check - config_file: "dnsconfig.js" + args: check + config_file: "dnsconfig.js" - name: Add Validated DNS Label if: ${{ steps.dns_check.outcome == 'success' }} uses: actions-ecosystem/action-add-labels@v1 with: - labels: "Validated DNS" - github_token: ${{ steps.create_token.outputs.token }} + labels: "Validated DNS" + github_token: ${{ steps.create_token.outputs.token }} - name: Remove Invalid DNS Label if: ${{ steps.dns_check.outcome == 'success' }} uses: actions-ecosystem/action-remove-labels@v1 @@ -59,13 +59,12 @@ jobs: with: labels: "Invalid DNS" github_token: ${{ steps.create_token.outputs.token }} - - name: Remove Validated DNS Label if: ${{ failure() }} uses: actions-ecosystem/action-remove-labels@v1 with: - labels: "Validated DNS" - github_token: ${{ steps.create_token.outputs.token }} + labels: "Validated DNS" + github_token: ${{ steps.create_token.outputs.token }} json: name: JSON