-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support CI/CD job token scope api #758
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #758 +/- ##
==========================================
+ Coverage 82.57% 83.31% +0.74%
==========================================
Files 74 75 +1
Lines 2904 3039 +135
==========================================
+ Hits 2398 2532 +134
- Misses 506 507 +1
|
Resolves #549 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to this feature @TimKnight-DWP . On my mobile and can't finish the review. Here's a few comments on what I looked at so far .
@amimas - all updated thanks |
@amimas done - drastically reduced number of API calls and hopefully clarified some of the logic both with reducing complexity of code and comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @TimKnight-DWP for all the updates. Found it easy to follow. Have couple of comments that might be applicable for both projects/groups allowlist updating. Let me know please if they make sense. I leave it to you if those updates are needed or not.
Thanks for all the work on implementing this feature. I know it wasn't a small task.
- Job Token access enable/disable - Group and Project job token allowlist support REST API documentation: https://docs.gitlab.com/ee/api/project_job_token_scopes.html Closes gitlabform#571 Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TimKnight-DWP - Unfortunately I'm not able to clearly see the new changes since it was squashed with all prior commits. I skimmed through the main logic again and it seems good to me. It's a big new feature implementation. I'm leaning towards merging this. If needed, we can iterate on this after we find issues. But overall, I think this is ready to ship out. 🚀
@amimas - ah yeah sorry should have thought of that when tidying up 😄 |
closes #571