Update README.md #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dnsmap | |
on: | |
push: | |
branches: [ "main", "pagvac-patch-1" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: | |
- cron: '45 17 * * 3' | |
workflow_dispatch: | |
inputs: | |
domain: | |
description: 'your domain name' | |
default: 'github.com' | |
type: string | |
required: false | |
jobs: | |
dnsmap-command: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- 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 }} |