bojieyang/IndexNow Action
Automatically submit URLs through the IndexNow protocol.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 26, 2026
- License
- MIT
Pinned Snippet
uses: bojieyang/indexnow-action@38ddfbd93579a8a44c0dee662121bf9d51098f71 # v3.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| sitemap-location | The location of the sitemap(e.g., https://example.com/sitemap.xml). | yes | — |
| since | URLs with `lastmod` fields in sitemap files within the last {since} {since-unit} will be submitted. The default value is 1. | no | 1 |
| since-unit | The unit of since. Available units are 'minute', 'hour', 'day', 'week', 'month' and 'year'. The default value is 'day'. | no | day |
| endpoint | The endpoint of a special search engine. Available units are api.indexnow.org, www.bing.com, search.seznam.cz and yandex.com. The default value is www.bing.com. For more details, see: https://www.indexnow.org/faq | no | www.bing.com |
| key | IndexNow key that you get from search engines. NOTICE: DO NOT stored as plaintext in the workflow file. Use GitHub Secrets instead. More about GitHub Secrets, see 'https://docs.github.com/en/actions/security-guides/encrypted-secrets'. | yes | — |
| key-location | Location of the IndexNow key file that you customed. If not set, it will assume that there is a file named '{your-indexnow-key}.txt' in the root directory of the website. NOTICE: DO NOT stored as plaintext in the workflow file. Use GitHub Secrets instead. More about GitHub Secrets, see 'https://docs.github.com/en/actions/security-guides/encrypted-secrets'. | no | "" |
| limit | The upper limit for submitting URLs. | no | 100 |
| timeout | Set the fetch timeout in milliseconds. The default value is 10000. | no | 10000 |
| failure-strategy | Define the strategy when submit failed. Available strategy are ignore and error. For 'ignore', will outputting an notice only. For 'error', outputting an error message also sets the status of action to fail. The Default value is ignore. | no | ignore |
| lastmod-required | If set to false, url entry without a `lastmod` tag in sitemap may be submitted, as long as the other conditions are met. If set to true, url entry without a `lastmod` tag in sitemap will be excluded. This is the default behavior and can not be configured before. However, there are some scenarios where the sitemap does not have a `lastmod` tag and it is difficult to set this tag, but they still want these URLs to be submitted. This option is added to be compatible with this scenario. since version 2.1. | no | true |
Outputs
no outputs