mahenzon/Markdown Code Block Auto Lang
Automatically sets a language for Markdown code blocks in PR/issue descriptions if missing.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token. The default one will work only for those who have access to the API. For public projects you'll need to create a fine-grained personal access token. Check README for step-by-step guide. | yes | ${{ github.token }} |
| language | Language to set for code blocks without specified language | yes | — |
| silent | If true, no comments will be added to the PR/issue | no | false |
| what-to-update | Which event types to update. Options: pull_request, issue, all (default: all). Accepts a single value or a multiline list. | no | all |
Outputs
| name | description |
|---|---|
| fixes | Number of code blocks that were fixed |