Jakub Sokołowski 8e6e2152ba accept URLs with long Git tag refs
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>
2022-01-11 16:19:56 +01:00
2022-01-11 16:19:56 +01:00
2019-01-16 22:30:39 +01:00
2019-01-20 22:05:53 +01:00
2019-01-16 22:30:39 +01:00
2019-01-17 13:34:06 +01:00
2019-01-16 22:30:39 +01:00
2019-01-20 22:05:53 +01:00
2019-01-22 17:28:38 +01:00
2019-01-22 17:28:38 +01:00
2019-01-20 22:05:53 +01:00
2019-01-20 22:05:53 +01:00

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)

Description
This Probot 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
Readme ISC
Languages
TypeScript 98.6%
JavaScript 0.8%
Shell 0.6%