-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removal of 450 Script Analyzer problems (#686)
### The only real code change is in ReadSecrets - If you precede a secret name with an asterisk in ReadSecrets/get, it will be encrypted (as well as base64 encoded) - Secrets used as SecureString in code will be requested as encrypted (codeSignCertificatePassword and KeyVaultCertificatePassword) - allows us to use ConvertTo-SecureString (without the -plaintext clause) - Refactor connection to Azure KeyVault to only get credentials once and keep clientSecret as secureString This part also contains a bug fix that was introduced in GetKeyVaultSecret during secrets refactoring (identified by secretName parameter was never used) ### Whitespace only changes: - Missing BOM on .ps1 files (all now have BOM - half didn't) - Whitespace trailing lines (fixed everywhere) ### Suppressions: - Suppress Analyzer on parameter blocks on test runners - Suppress ConvertTo-SecureString (with plain text) in ReadSecretsHelper - since we get GitHub secrets in clear text in code. - Variables initialized in BeforeAll in tests - Assigning isWindows, isMacOS and isLinux when running PS5 ### Renaming functions to not use dash in names (must then follow cmdlets) ### Removing actor+token from ReadSettings action as this is no longer needed - Functionality needing these have been moved to seperate actions --------- Co-authored-by: freddydk <freddydk@users.noreply.github.com> Co-authored-by: Maria Zhelezova <43066499+mazhelez@users.noreply.github.com>
- Loading branch information
1 parent
7d7c20d
commit 3c466eb
Showing
131 changed files
with
770 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Cleanup after failed E2E | ||
name: Cleanup after failed E2E | ||
|
||
on: | ||
workflow_dispatch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.