1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
aj-bw
806111c94f [bre-1104] update cli npm publish to use oidc (#16214)
* prep workflow for npm OIDC publishing

* add node setup step

* update environment name

* clarify job title

* npm versioning testing, will revert

* syntax

* syntax

* temporarily remove dynamic node version

* Revert build-cli.yml to main branch version

* remove husky install step

* pin npm version in setup node step

* add comment

* more clear comment to show future action needed

* formatting
2025-09-15 13:57:23 -04:00
renovate[bot]
f90f7c2b22 [deps]: Update chromaui/action action to v13 (#15505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vicki League <vleague@bitwarden.com>
2025-09-12 15:55:30 -04:00
Jonathan Prusik
af21ab96af clean up past/outdated DDG test warning comments (#16366) 2025-09-10 09:21:30 -04:00
Andreas Coroiu
b957a0c28f [PM-24646] Add licensed browser builds (#16252)
* feat: create separate bit licensed browser

* feat: refactor webpack config

* fix: mv2 build not working

* feat: add bit versions of all commands

* feat: add bit CI builds

* fix: scss missing from build
2025-09-04 08:21:50 +02:00
Andy Pixley
bcd7eb746a [BRE-1006] Removing unused workflow: release-desktop-beta (#16263) 2025-09-03 09:58:49 -04:00
Oscar Hinton
97ee61db00 Configure clippy (#16194)
Apply the same clippy configuration as we have in sdk-internal. bitwarden/sdk-internal@49f84e6/Cargo.toml#L91-L94

Adds FIXME comments to all existing violations. unwrap is bad as those will resullt in panics and crash the application. Unused async is ignored in napi since that would require changes to the js side which I don't want to deal with.
2025-08-29 08:27:50 -04:00
Matt Andreko
5176fab8a0 Added explicit permissions to check-run (#15135) 2025-08-28 16:11:19 -04:00
aj-bw
3202b56614 [bre-1089] mac desktop publish automation using fastlane (#16091)
* Use Fastlane to publish to Apple App Store

* Publish MacOS build number as artifact

* Download and source build number from artifact

* Refactor Fastlane file to use already existing builds in TestFlight

* fastfile changes, release workflow changes, gitignore addition

* reorder steps to after dist dir is created

* resolve pathing issue

* upload step path fix

* make comments more clear

* enable phased rollout, add auto-submit checkbox

* move logic from release to publish workflow

* configure dry run properly for MAS

* edit file for testing

* workflow testing

* verbose logging for debugging

* update to look at releases

* remove verbose flag for next test

* add verbose logging back

* disable precheck

* hardcode app v for test

* hardcode app v for testing

* additional test

* log build numbers

* remove testing values, prep for draft PR

* flip metadata bool for testing

* comment out branch check

* hardcode locales

* add metadata and locales change

* lane change

* more logging for finding build

* address logs feedback

* edit_live false

* testing

* extra logging from apple api

* testing

* workaround for attaching build attempt

* workaround patch update

* simplify and retest skip metadata true

* turn precheck true

* remove autosubmit checkbox, add live edit true for testing release notes formatting

* re-org dispatch, rename dir to release_notes, flip live edit to false

* another formatting attempt

* additional formatting changes

* account for double space, add dash to beginning

* different formatting approach

* format test

* simplified notes formatting test, double line after each period

* proper formatting

* rename file for rust linter

* remove testing comments

* remove default string from notes, logic to check for empty release notes in mas_publish, formatting

* add validation logic after publishing

---------

Co-authored-by: Micaiah Martin <github@sourcecodemt.com>
2025-08-28 10:53:17 -04:00
renovate[bot]
d01db53f69 [deps]: Update actions/download-artifact action to v5 (#16060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-08-18 11:30:09 -04:00
Jonathan Prusik
d4bb341847 simplify step conditional (#16040) 2025-08-15 20:36:18 +00:00
Jonathan Prusik
6a65a6ff48 Fix job step order (#16038) 2025-08-15 18:35:41 +00:00
Jonathan Prusik
351a945f02 fix missing token error (#16036) 2025-08-15 17:52:28 +00:00
Jonathan Prusik
7d23a076de [PM-24785] Skip/Exit early from "Autofill BIT checks" workflow if there is no associated pull request or branch (#16034)
* check autofill bit checks workflow job requirements at the start of the job

* add source branch name to executed workflow title
2025-08-15 13:17:38 -04:00
Jonathan Prusik
ef60f5bb51 [PM-5756] Trigger Autofill BIT checks on browser build workflow completion with autofill-affecting file changes (#15960)
* trigger Autofill BIT checks on browser build workflow completion and autofill-affecting file changes

* further adjustments

* hardcode bitwarden owner

* remove unneeded origin_repo data in dispatch payload

* add ownership for workflow

* use actions/create-github-app-token

* update CODEOWNERS line with suggestion
2025-08-13 10:48:02 -04:00
Daniel García
b57238ca99 [PM-23663] Update yao-pkg and migrate CLI to Node 22 (#15622) 2025-08-07 14:34:03 -04:00
Andy Pixley
be29a43a59 [BRE-1022] Replacing SPs with managed identity access (#15853) 2025-07-31 16:52:30 -04:00
Andy Pixley
0ebd4a841b Revert "[BRE-1022] Replace SPs with Managed Identities (#15844)" (#15851)
This reverts commit 74bfc1c38b.
2025-07-30 20:46:45 +00:00
Andy Pixley
74bfc1c38b [BRE-1022] Replace SPs with Managed Identities (#15844) 2025-07-30 15:44:33 -04:00
Andy Pixley
ca48c964d2 Revert "[BRE-1022] Switching to use AZ Managed Identities (#15830)" (#15831)
This reverts commit 4b08e9da30.
2025-07-29 19:38:56 +00:00
Andy Pixley
4b08e9da30 [BRE-1022] Switching to use AZ Managed Identities (#15830) 2025-07-29 15:27:03 -04:00
Matt Andreko
449293d74c Add mistakenly removed parameters for Sonar (#15812) 2025-07-29 13:56:25 -04:00
aj-bw
79a71c71e3 BRE-925/switch-web-to-alpine (#15270)
* update dockerfile and entrypoint script

* update entrypoint to sh

* add icu-libs to web container to fix startup errors

* remaining change needed for icu-libs

* pin alpine and update apk add commands
2025-07-28 10:58:30 -04:00
Sunset Mikoto
cd33ea0747 build(firefox): bump max file size limit to 5MB (#15477)
https://github.com/mozilla/addons-linter/pull/5674
2025-07-24 17:42:35 +00:00
Vicki League
d45cacc1af [CL-801] Fix chromatic.yml externals formatting (#15736) 2025-07-23 13:26:35 -04:00
Andy Pixley
6aa59d5ba7 [BRE-831] Fixing PR target permissions (#15729) 2025-07-22 12:46:02 -04:00
Andy Pixley
81ee26733e [BRE-831] Fixing permissions (#15713) 2025-07-21 20:17:39 +00:00
Robyn MacCallum
77940116e6 DDG integration files modified workflow (#15665)
* Create alert-ddg-files-modified.yml

* Update alert-ddg-files-modified.yml

* Add encrypted-message-handler.service to alert-ddg-files-modified.yml

* Pin action versions

* Add permissions

* Update alert-ddg-files-modified.yml

* Update alert-ddg-files-modified.yml

* Add parameter to get list of files changed

* Wording update

* Update CODEOWNERS

* Make branch target main
2025-07-21 16:15:39 -04:00
Andy Pixley
83f9061474 [BRE-831] migrate secrets akv (#15158) 2025-07-21 15:54:28 -04:00
Matt Andreko
127fed70ac Update scan workflow to use centralized reusable component (#15635) 2025-07-17 10:01:37 -04:00
Bernd Schoolmann
8250e40c6c [PM-22271] Switch to SDK argon2 implementation, and drop other impls (#15401)
* Switch to SDK argon2 implementation

* Cleanup and update to the latest sdk

* Update package lock

* Remove copy patch

* Fix builds

* Fix test build

* Remove error

* Fix tests

* Fix build

* Run prettier

* Remove argon2 references

* Regenerate index.d.ts for desktop_native napi

* Replace mocked crypto function service type
2025-07-15 11:53:58 +02:00
Tyler
3f7cb674af BRE-883 build(firefox): check file size (#15399)
* build(firefox): check file size

if building `firefox` or `firefox-mv3`

    * check if any file(s) exceeds 4M (megabytes)

        - If true, fail and provide basic message.

* style: add clarity

sytle: add error message

* fix: relocate step

ensure final step of source files before validating

* test: add failure condition

* fix: source file target directory

* fix: test for failure condition

* test: remove failure condition

remove lines used for testing
2025-07-01 22:31:59 +02:00
Justin Baur
4c2475a515 [PM-22343] Bump non-cli to Node 22 (#15058)
* Bump non-cli to Node 22

* Fix working-directory

* Lets see what breaks

* Maybe this works
2025-06-26 18:05:37 -04:00
Andy Pixley
78bebe66ea [BRE-848] Add Workflow Permissions (#15328) 2025-06-26 12:57:01 -04:00
Andreas Coroiu
556ec500ff [PM-12416] Fix cli signing issues (#15132)
* Add macOS notarization and signing steps to CI workflow

* Fix

* Fix path

* Test logic changes for signing

* Test logic

* feat: remove runtime hardening option

* feat: try using entitlements instead

* try removing unsigned memory entitlement

* fix: revert changes, unsigned memory required

---------

Co-authored-by: Michal Checinski <mchecinski@bitwarden.com>
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2025-06-24 09:36:14 +02:00
Andy Pixley
a4ef61e1fc [BRE-848] Adding Workflow Permissions (#15250) 2025-06-20 12:34:18 -04:00
Addison Beck
e8e61d2796 build(ci): remove the need to cherry pick version bumps to rc (#15188) 2025-06-17 13:57:27 -04:00
Colton Hurst
4ddff8abb0 [PM-22645] Rename Windows Desktop Pack & Sign workflow (#15175) 2025-06-16 09:19:48 -04:00
renovate[bot]
fb9f8a9b33 [deps]: Update crowdin/github-action action to v2 (#15169)
* [deps]: Update crowdin/github-action action to v2

* fix(build): adjust config keys to match crowdin breaking changes

* build(crowdin): add a lint action for crowdin configurations

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: addisonbeck <github@addisonbeck.com>
2025-06-12 17:59:17 -04:00
Addison Beck
ed169335bf Revert "[deps]: Update crowdin/github-action action to v2 (#14929)" (#15159)
This reverts commit e8d73b577f.
2025-06-11 22:05:20 +00:00
renovate[bot]
e8d73b577f [deps]: Update crowdin/github-action action to v2 (#14929)
* [deps]: Update crowdin/github-action action to v2

* fix(build): adjust config keys to match crowdin breaking changes

* fix(build): comply with the new workflow linter for effect files

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Addison Beck <github@addisonbeck.com>
2025-06-11 17:38:47 -04:00
renovate[bot]
f30d6f0105 [deps]: Update dtolnay/rust-toolchain digest to b3b07ba (#14921)
* [deps]: Update dtolnay/rust-toolchain digest to b3b07ba

* fix(build): comply with ci linter in the test workflow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Addison Beck <github@addisonbeck.com>
2025-06-11 16:14:13 -04:00
Vince Grassia
04e59a0fe2 BRE-889 - Remove checksum assets (#15146) 2025-06-11 15:33:51 -04:00
Oscar Hinton
685f7a0fd8 Confirm we can run the npm published CLI (#15007)
* Confirm we can run the npm published CLI

* Add comment
2025-06-09 11:02:14 +02:00
renovate[bot]
4e07fd7666 [deps]: Update anchore/scan-action action to v6 (#14928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-30 08:54:58 -07:00
renovate[bot]
d64ec01bd7 [deps]: Update sonarsource/sonarqube-scan-action action to v5 (#14931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-30 08:48:07 -07:00
aj-bw
21dfcfeada fix chromatic linter failure (#14972) 2025-05-29 17:18:59 -04:00
Daniel García
a02c230e4d Pin rust toolchain (#14817)
* Pin rust toolchain

* Always install targets in build script

* Delete installed toolchains
2025-05-17 22:17:36 +02:00
Maciej Zieniuk
7f8a9825dd [PM-18502] jest and rust coverage upload separated as one step (#14286)
* jest and rust coverage upload separated as one step

* wrong file paths when downloading coverage

* correct relative coverage paths with sources

* Update .github/workflows/test.yml

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-05-15 22:11:04 +02:00
aj-bw
0c2b924252 BRE-609/update-workflows (#14666)
* update workflow branches

* additional workflow changes

* update scan file
2025-05-15 09:37:58 -04:00
renovate[bot]
3b2dc2907f [deps]: Update chromaui/action action to v11.28.2 (#14499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-14 08:30:15 -07:00