jeany55/WoW Addon TOC Versioner
For World of Warcraft Addon developers, make a PR to update your addon's toc files if their interface versions are behind.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| wiki-url | The URL of the WoW Addon Wiki to use for version checking. | no | https://warcraft.wiki.gg/wiki/API_GetBuildInfo |
| toc-directory | If the toc files are not in the repository root, specify the directory here. (eg. '/src/addonTocs') | no | "" |
| create-pr | Whether to create a pull request with the version updates if any are found. (true/false) | no | true |
| fail-job-when-updates-found | Whether to fail the GitHub Action job if any updates are found. (true/false) | no | false |
| pr-branch-name | The name of the branch to create for the pull request, if the 'create-pr' option is true. | no | auto/update-interface-versions |
| create-issue-if-updates-found | Whether to create an issue if any updates are found. (true/false) | no | false |
| update-action-versions | Whether to also scan GitHub Action workflow files for outdated WoW game version strings and update them. Requires a PAT with workflows permission via the github-token input. (true/false) | no | false |
| action-version-regex | Regex pattern that matches the region containing game version strings in action files. Individual versions (X.Y.Z) are extracted from within each match. Override to match other formats like YAML arrays, space-separated lists, etc. | no | \d+\.\d+\.\d+(?:\s*,\s*\d+\.\d+\.\d+)+ |
| github-token | GitHub token to use when creating the pull request and/or issue. If update-action-versions is true, a Personal Access Token (PAT) with "contents: write" and "workflows: write" permissions is required, since the default GITHUB_TOKEN cannot modify workflow files. | no | ${{ github.token }} |
Outputs
no outputs