-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-15126] Tighten scope of our client build pipelines to remove reliance on secrets #12243
[PM-15126] Tighten scope of our client build pipelines to remove reliance on secrets #12243
Conversation
New Issues
Fixed Issues
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #12243 +/- ##
==========================================
- Coverage 33.43% 33.42% -0.01%
==========================================
Files 2901 2901
Lines 90566 90566
Branches 17213 17213
==========================================
- Hits 30279 30272 -7
- Misses 57892 57899 +7
Partials 2395 2395 ☔ View full report in Codecov by Sentry. |
50c5323
to
336ccf1
Compare
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.
This is great. Just a couple small things.
…ipelines-to-remove-reliance-on-secrets
…ipelines-to-remove-reliance-on-secrets
…ance on secrets (bitwarden#12243) * feat: create copy of desktop build for PR target * chore: add temporary file to trigger ci * fix: remove check-run from regular desktop build * feat: change browser build to not use pr target * fix: skip build-safari if secret is not available * feat: skip safari build if secrets are not available * feat: let windows desktop build without secrets * fix: has_secrets not being output correctly * feat: let macos desktop build without secrets * feat: don't build browser as part of desktop * feat: change CLI to pull_request * feat: let web build without secrets * feat: tweak lint to run on PR and not just push * feat: add PR target workflows * fix: remove wip files * fix: lint on hotfix-rc branches * feat: add new workflows to CODEOWNERS (cherry picked from commit f8c33ea)
🎟️ Tracking
📔 Objective
This PR changes how our CI workflows run so that they are able to run even without secrets. It also adds another another set of workflows that can be manually triggered by Bitwarden employees to build contributor PRs with full access to secrets if needed.
build-<app>.yml
workflows now run onpull_request
instead ofpull_request_target
, this means that:build-<app>-target.yml
have been added to let Bitwarden employees manually triggerbuild-<app>.yml
usingpull_request_target
which gives it access to all the secretsbuild-<app>.yml
but with full inherited secretsHere is an example of these workflows running in a fork: coroiu#1
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes