mirror of
https://github.com/status-im/packages-check-bot.git
synced 2025-02-20 16:18:30 +00:00
Extends `urlRegex` to accept tags specified with full `refs/tags/*` format. Note the use of `?:` part to make the group not present in the `matche` list. The need to reference Git tags with `refs/tags/` prefix is caused by changes in how Nix `2.4` and newer versions handle Git tags. They expect tags without full name to be branches, which fails with: ``` fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6 error: program 'git' failed with exit code 128 ``` Issue: https://github.com/status-im/status-react/issues/12832 PR: https://github.com/status-im/status-react/pull/12980 Signed-off-by: Jakub Sokołowski <jakub@status.im>
packages-check-bot
A GitHub App built with Probot that checks changes to packages.json to ensure that URL schemes match intended pattern and that forks are referenced with a tag, instead of a branch.
Setup
# Install dependencies
yarn install
# Run the bot
yarn start
Contributing
If you have suggestions for how packages-check-bot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
License
ISC © 2019 Status.im pombeirp@users.noreply.github.com (https://status.im)
Languages
TypeScript
98.6%
JavaScript
0.8%
Shell
0.6%