jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-51020] Filter by name (with regular expression) not applied on tags during scanning causing overconsumption of API quota
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
Using Branch Sources > Github
Discover branches + Discover tags + Filter by name ^(master)|(v[0-9\.]+)$
```
Checking tag master-patch-1
06:09:59 GitHub API Usage: Current quota has 2654 remaining (19 under budget). Next quota of 5000 in 38 min
Checking tag master-patch-2
06:09:59 GitHub API Usage: Current quota has 2653 remaining (18 under budget). Next quota of 5000 in 38 min
...
Checking tag v1.1.1-patch-9
06:13:05 GitHub API Usage: Current quota has 2462 remaining (21 under budget). Next quota of 5000 in 35 min
Checking tag v1.1.1-patch-10
06:13:05 GitHub API Usage: Current quota has 2461 remaining (21 under budget). Next quota of 5000 in 35 min
...
Checking tag 0.1.0
06:20:11 GitHub API Usage: Current quota has 2014 remaining (17 under budget). Next quota of 5000 in 27 min
```
Those tags should be excluded from checking.
---
Originally reported by
pgmillon, imported from: Filter by name (with regular expression) not applied on tags during scanning causing overconsumption of API quota
Raw content of original issue
Using Branch Sources > Github
Discover branches + Discover tags + Filter by name ^(master)|(v[0-9\.]+)$
Checking tag master-patch-1
06:09:59 GitHub API Usage: Current quota has 2654 remaining (19 under budget). Next quota of 5000 in 38 minChecking tag master-patch-2
06:09:59 GitHub API Usage: Current quota has 2653 remaining (18 under budget). Next quota of 5000 in 38 min
...
Checking tag v1.1.1-patch-9
06:13:05 GitHub API Usage: Current quota has 2462 remaining (21 under budget). Next quota of 5000 in 35 minChecking tag v1.1.1-patch-10
06:13:05 GitHub API Usage: Current quota has 2461 remaining (21 under budget). Next quota of 5000 in 35 min
...
Checking tag 0.1.0
06:20:11 GitHub API Usage: Current quota has 2014 remaining (17 under budget). Next quota of 5000 in 27 minThose tags should be excluded from checking.
Contributor guide
Assessment
This issue has not been assessed yet.