AbsaOSS / AbsaOSS/aquasec-scan-results
GH Action minutes consumption during waiting cycle
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1m
- Merged PRs (30d)
- 5
Description
### Background
The Comparison mode in the AquaSec Scan Results repository is triggered on every commit. It is needed to make sure, that new commits do not bring new security alerts. But during busy hours, one triggered scan of developer branch on a bigger project can take up to 2 hours. That is huge waste of GH action minutes. This approach has to change, since it is expected to have this solution on tens of repositories.
### Goals
Find a way how to limit the GH Action minutes in an organization.
### Subtasks
- [x] #87
### Related / References
Options of solution:
- sleep the gh action for some time and revoke for few seconds to check the done state of the scanning flow
- run the solution instead of ubuntu-latest on the EC2s
Contributor guide
Assessment
This issue has not been assessed yet.