From b1285620764739fe25150119850159785a09de35 Mon Sep 17 00:00:00 2001 From: DIBSTER <76603072+DEV-DIBSTER@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:30:38 -0500 Subject: [PATCH] fix: validation --- .github/workflows/validation.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 0a68a483..63c37168 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -46,12 +46,15 @@ jobs: with: labels: "Validated DNS" github_token: ${{ steps.create_token.outputs.token }} + issue_number: ${{ github.event.pull_request.number }} + - name: Remove Invalid DNS Label if: ${{ steps.dns_check.outcome == 'success' }} uses: actions-ecosystem/action-remove-labels@v1 with: labels: "Invalid DNS" github_token: ${{ steps.create_token.outputs.token }} + issue_number: ${{ github.event.pull_request.number }} - name: Add Invalid DNS Label if: ${{ failure() }} @@ -59,13 +62,16 @@ jobs: with: labels: "Invalid DNS" github_token: ${{ steps.create_token.outputs.token }} + issue_number: ${{ github.event.pull_request.number }} + - 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 }} - + issue_number: ${{ github.event.pull_request.number }} + json: name: JSON runs-on: ubuntu-latest