s-thom/Create Robots.txt
An action to generate a robots.txt file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| output-file | Where to write the resulting robots.txt file | — | robots.txt |
| input-file | An existing robots.txt. Will be added to the top of the output file. Must not be the same as the `output-file` | — | — |
| append-allow-rule | Whether to add an allow for all unspecified user agents to the end of the file | — | false |
| allowed-bot-names | Multiline string. Names of bots that should not be included in the blocklist | — | — |
| cloudflare-api-token | An API token for Cloudflare. Enables Cloudflare's bot categories as a source for bots | — | — |
| cloudflare-categories | Bot categories to add to the blocklist. Required if `cloudflare-api-token` is set | — | — |
| dark-visitors-api-token | An API token for Dark Visitors. Enables Dark Visitors' user agent categories as a source for bots | — | — |
| dark-visitors-categories | User agent categories to add to the blocklist. Required if `dark-visitors-api-token` is set | — | — |
Outputs
no outputs