From 70b2dd3464ce2035c86e8f6d5d4131507f53cc9b Mon Sep 17 00:00:00 2001 From: Adrian Pastor <6169628+pagvac@users.noreply.github.com> Date: Tue, 20 Aug 2024 08:49:10 -0400 Subject: [PATCH 1/4] Update dnsmap.yml --- .github/workflows/dnsmap.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dnsmap.yml b/.github/workflows/dnsmap.yml index aa14048..482cb9d 100644 --- a/.github/workflows/dnsmap.yml +++ b/.github/workflows/dnsmap.yml @@ -8,6 +8,12 @@ on: schedule: - cron: '45 17 * * 3' workflow_dispatch: + inputs: + domain: + description: 'domain name' + type: string + required: false + jobs: dnsmap-command: From 60242b234da96efb386f9d843dda9537201cf2ac Mon Sep 17 00:00:00 2001 From: Adrian Pastor <6169628+pagvac@users.noreply.github.com> Date: Tue, 20 Aug 2024 08:50:27 -0400 Subject: [PATCH 2/4] Update dnsmap.yml --- .github/workflows/dnsmap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dnsmap.yml b/.github/workflows/dnsmap.yml index 482cb9d..b23f56e 100644 --- a/.github/workflows/dnsmap.yml +++ b/.github/workflows/dnsmap.yml @@ -2,7 +2,7 @@ name: dnsmap on: push: - branches: [ "main" ] + branches: [ "main", "pagvac-patch-1" ] pull_request: branches: [ "main" ] schedule: From ab3313784adfe7f1d8506698f75b39da015a0c58 Mon Sep 17 00:00:00 2001 From: Adrian Pastor <6169628+pagvac@users.noreply.github.com> Date: Tue, 20 Aug 2024 08:58:13 -0400 Subject: [PATCH 3/4] Update dnsmap.yml --- .github/workflows/dnsmap.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dnsmap.yml b/.github/workflows/dnsmap.yml index b23f56e..ce3c16a 100644 --- a/.github/workflows/dnsmap.yml +++ b/.github/workflows/dnsmap.yml @@ -23,5 +23,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Run dnsmap + - name: Run dnsmap against github.com + if: "${{ github.event.inputs.domain == '' }}" run: python dnsmap.py github.com + - name: Run dnsmap against user-supplied domain name + if: "${{ github.event.inputs.domain }}" + run: python dnsmap.py ${{ github.event.inputs.domain }} From 13ff54abdf8e5843c74eac20f7cd44dea6aff616 Mon Sep 17 00:00:00 2001 From: Adrian Pastor <6169628+pagvac@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:11:14 -0400 Subject: [PATCH 4/4] Update dnsmap.yml --- .github/workflows/dnsmap.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dnsmap.yml b/.github/workflows/dnsmap.yml index ce3c16a..dbdfa8f 100644 --- a/.github/workflows/dnsmap.yml +++ b/.github/workflows/dnsmap.yml @@ -10,7 +10,8 @@ on: workflow_dispatch: inputs: domain: - description: 'domain name' + description: 'your domain name' + default: 'github.com' type: string required: false