Граф коммитов

53 Коммитов

Автор SHA1 Сообщение Дата
Rob Dietrick 92a8936318
Merge pull request #62 from jorgectf/jorgectf/fix-actions-injection
Fix potential Actions injection
2024-06-23 06:22:40 -07:00
rdietrick 21035c2fba Updated commands to use sf instead of sfdx 2024-06-20 21:51:08 -07:00
Arun 1b645d9a13
Quote envvar to match documentation 2024-01-22 17:34:48 -08:00
Jorge 1e0de5e7db
Fix potential Actions injection 2024-01-19 17:23:23 +01:00
Arun 802709c076
ci: Use GITHUB_OUTPUT envvar instead of set-output command 2024-01-12 21:36:00 -08:00
Max Goldfarb 86ca1ecffc
Fix destructive changes paramater output (#54) 2023-04-18 11:30:28 -04:00
Max Goldfarb 5249a0b5e2
Add missing env variable for age decryption 2023-04-07 14:53:46 -04:00
Max Goldfarb e9ca16c1f8
Asymmetric Encryption Implementation w/ age (#53)
* Fix syntax bug in delete artifacts step of release branch merge handler workflow

* Remove duplicate SALESFORCE_TEMPLATE_USERNAME in getting started docs

* Fix bugs in compile release notes step

* Add DEPLOYMENT_TIMEOUT to getting started docs

* Add missing env variable in push-to-main workflow & remove email deliv logic in workflows

* Fix bad secret reference

* Fix release note compilation bug

* Use scoped PAT for actions that could fail because default token does not have perms

* Remove reference to our internal reviewers team

* Consolidate SALESFORCE_JWT_KEY and SALESFORCE_JWT_SECRET_KEY

* Remove redundant tags checkout & use fallback semver when no tags exist

* change fallback tag semver to 1.0.0

* Remove unnecessary tag main step

* Update major version when creating release/milestone

* asymmetric encryption implementation with age

* use minor instead of major semver for milestone creation

* doc updates
2023-04-06 14:28:14 -04:00
Max Goldfarb 7845f4647a
Event triggers and conditions updates (#52)
* Fix syntax bug in delete artifacts step of release branch merge handler workflow

* Remove duplicate SALESFORCE_TEMPLATE_USERNAME in getting started docs

* Fix bugs in compile release notes step

* Add DEPLOYMENT_TIMEOUT to getting started docs

* Add missing env variable in push-to-main workflow & remove email deliv logic in workflows

* Fix bad secret reference

* Fix release note compilation bug

* Use scoped PAT for actions that could fail because default token does not have perms

* Remove reference to our internal reviewers team

* Consolidate SALESFORCE_JWT_KEY and SALESFORCE_JWT_SECRET_KEY

* Remove redundant tags checkout & use fallback semver when no tags exist

* change fallback tag semver to 1.0.0

* Remove unnecessary tag main step

* Update major version when creating release/milestone

* Updated event trigger and conditions for 'Release Branch Merge Handler'

* Only run sfdx deploy-related steps in PR handler if metadata changed

* Improve merge handler commit message

* Add auth path to did files change step in pull request handler workflow

* Update did metadata change step name to include auth file

* use minor instead of major semver for milestone creation
2023-04-06 14:16:55 -04:00
Max Goldfarb 022d94f770
Fix bugs identified during demo (#48)
* Fix syntax bug in delete artifacts step of release branch merge handler workflow

* Remove duplicate SALESFORCE_TEMPLATE_USERNAME in getting started docs

* Fix bugs in compile release notes step

* Add DEPLOYMENT_TIMEOUT to getting started docs

* Add missing env variable in push-to-main workflow & remove email deliv logic in workflows

* Fix bad secret reference

* Fix release note compilation bug

* Use scoped PAT for actions that could fail because default token does not have perms

* Remove reference to our internal reviewers team

* Consolidate SALESFORCE_JWT_KEY and SALESFORCE_JWT_SECRET_KEY

* Remove redundant tags checkout & use fallback semver when no tags exist

* change fallback tag semver to 1.0.0

* Remove unnecessary tag main step

* Update major version when creating release/milestone

* use minor instead of major semver for milestone creation
2023-03-17 10:10:07 -04:00
Rob Dietrick 549184a614
fixed var reference
needs to use double curly braces
2023-03-03 12:59:02 -08:00
Rob Dietrick fcaaa367fb
Replace hard-coded repo reference 2023-03-03 12:19:34 -08:00
Max Goldfarb 9b5e92ecf4
Bug Fixes & Doc Updates (#46)
* Fix syntax bug in delete artifacts step of release branch merge handler workflow

* Remove duplicate SALESFORCE_TEMPLATE_USERNAME in getting started docs

* Fix bugs in compile release notes step

* Add DEPLOYMENT_TIMEOUT to getting started docs
2023-02-24 11:49:25 -05:00
Johnny Carmona 80a99d1edc adding var for recomposing profiles 2023-02-07 11:23:36 -05:00
Johnny Carmona 1babf5f2f7 updating token name 2023-02-07 10:49:25 -05:00
Johnny Carmona f5bb7b29aa cleaning up workflow files 2023-02-07 10:39:53 -05:00
Johnny Carmona 801de44e06 production release workflow 2023-01-31 10:26:37 -05:00
Max Goldfarb 4300e1074e
Fix if condition and bad revision error in release branch merge handler workflow (#28)
* Fix if conditions in release branch merge handler workflow

* set fetch depth on checkout in release branch merge handler
2022-12-19 17:04:48 -05:00
Max Goldfarb f18fe2d75d
Fix if condition in release branch merge handler workflow (#22)
* auth file for testing and gitignore change for auth files

* gitignore changes for auth files and auth file folder

* Apex classes to test deployment to UAT sandbox

* test removing release branch prefix var from event trigger conditions

* revert test removing release branch prefix var from event trigger conditions

* log pr data from gh event

* do not use repo var in event trigger conditions

* try and log pr event data

* try casting github event data to JSON for env variable

* try and log pr base ref

* try to set and log check-base-ref-for-release-branch.outputs.DEPLOY_TO_UAT

* try adding job condition

* Implement repo var for sfdx profile decompose

* fix syntax error

* include new changes

* only run Release Branch Pull Request Handler if base ref starts with …

* remve pull request branch filter

* only run Release Branch Pull Request Handler if base ref starts with release branch prefix

* deployment timeout repo var

* Add release notes folder

* clean up if statement

* remove openssl version command

* remove sfdx-auth.json write

* init .github/workflows/release-branch-merge-handler.yml

* remove old set-output

* clean up

* Clean up

* conditionally run scripts/create_release_notes.sh and deletion of release notes

* fix syntax error

* replace create_release_notes.sh file with bash in workflow

* fix if condition in release branch merge handler
2022-12-15 12:48:21 -05:00
Max Goldfarb 98dd450d4a
Release Branch Merge Handler (#13)
* auth file for testing and gitignore change for auth files

* gitignore changes for auth files and auth file folder

* Apex classes to test deployment to UAT sandbox

* test removing release branch prefix var from event trigger conditions

* revert test removing release branch prefix var from event trigger conditions

* log pr data from gh event

* do not use repo var in event trigger conditions

* try and log pr event data

* try casting github event data to JSON for env variable

* try and log pr base ref

* try to set and log check-base-ref-for-release-branch.outputs.DEPLOY_TO_UAT

* try adding job condition

* Implement repo var for sfdx profile decompose

* fix syntax error

* include new changes

* only run Release Branch Pull Request Handler if base ref starts with …

* remve pull request branch filter

* only run Release Branch Pull Request Handler if base ref starts with release branch prefix

* deployment timeout repo var

* Add release notes folder

* clean up if statement

* remove openssl version command

* remove sfdx-auth.json write

* init .github/workflows/release-branch-merge-handler.yml

* remove old set-output

* clean up

* Clean up

* conditionally run scripts/create_release_notes.sh and deletion of release notes

* fix syntax error

* replace create_release_notes.sh file with bash in workflow
2022-12-15 11:51:42 -05:00
Max Goldfarb 53fc4e5436
Clean up (#12)
* auth file for testing and gitignore change for auth files

* gitignore changes for auth files and auth file folder

* Apex classes to test deployment to UAT sandbox

* test removing release branch prefix var from event trigger conditions

* revert test removing release branch prefix var from event trigger conditions

* log pr data from gh event

* do not use repo var in event trigger conditions

* try and log pr event data

* try casting github event data to JSON for env variable

* try and log pr base ref

* try to set and log check-base-ref-for-release-branch.outputs.DEPLOY_TO_UAT

* try adding job condition

* Implement repo var for sfdx profile decompose

* fix syntax error

* include new changes

* only run Release Branch Pull Request Handler if base ref starts with …

* remve pull request branch filter

* only run Release Branch Pull Request Handler if base ref starts with release branch prefix

* deployment timeout repo var

* Add release notes folder

* clean up if statement

* remove openssl version command

* remove sfdx-auth.json write
2022-11-21 17:12:20 -05:00
Max Goldfarb a2d07d918d
Release notes folder and deployment timeout variable (#11)
* auth file for testing and gitignore change for auth files

* gitignore changes for auth files and auth file folder

* Apex classes to test deployment to UAT sandbox

* test removing release branch prefix var from event trigger conditions

* revert test removing release branch prefix var from event trigger conditions

* log pr data from gh event

* do not use repo var in event trigger conditions

* try and log pr event data

* try casting github event data to JSON for env variable

* try and log pr base ref

* try to set and log check-base-ref-for-release-branch.outputs.DEPLOY_TO_UAT

* try adding job condition

* Implement repo var for sfdx profile decompose

* fix syntax error

* include new changes

* only run Release Branch Pull Request Handler if base ref starts with …

* remve pull request branch filter

* only run Release Branch Pull Request Handler if base ref starts with release branch prefix

* deployment timeout repo var

* Add release notes folder
2022-11-21 14:15:10 -05:00
Max Goldfarb 9a8ffb3029
SALESFORCE_FORMATTED_PROFILES_AND_PERMS repo var, auth folder & deploy-to-uat-sandbox job condition (#7) 2022-11-21 13:44:54 -05:00
Max Goldfarb 7fc4467ff6 Fix release branch prefix concat in event trigger 2022-11-18 20:48:23 +00:00
Max Goldfarb fa8d43711a Try and use release branch prefix repo var in event trigger condition 2022-11-18 20:43:20 +00:00
Max Goldfarb 077c046f29 New set-output command implementation 2022-11-18 20:22:00 +00:00
Max Goldfarb 493f2d9bc8 Leverage branch prefix repo vars in .github/workflows/release-branch-pull-request-handler.yml 2022-11-18 20:10:52 +00:00
Max Goldfarb 8f06ae3ee6 Add missing space 2022-11-18 19:51:20 +00:00
Max Goldfarb cfd4796b47 Fix reference to the wrong repo var 2022-11-18 19:42:34 +00:00
Max Goldfarb 4fd5799af9 Try and fix syntax to set env variable to equal a repo variable and add logging 2022-11-18 19:40:13 +00:00
Max Goldfarb 70c888cbb9 Fix spacing 2022-11-18 19:34:28 +00:00
Max Goldfarb 64f4c776af Fix workflow syntax for running node script and implement repo vars for branch prefix 2022-11-18 19:33:14 +00:00
Max Goldfarb 5a8451d7bc Fix syntax for repo variables 2022-11-17 22:35:45 +00:00
Max Goldfarb fbf800302e convert branch-filter action into node script (update release branch pr handler flow) 2022-11-16 22:47:00 +00:00
Max Goldfarb af6348166e convert branch-filter action into node script (add node script) 2022-11-16 22:45:32 +00:00
gfarb 9c0cb608ec
clean up 2022-11-15 17:32:24 -05:00
gfarb 96b7df803c
Rename Workflow 2022-11-15 17:27:26 -05:00
gfarb 9eb6a26e84
Rename workflows 2022-11-15 17:26:58 -05:00
gfarb 797f0abbae
Rename workflows 2022-11-15 17:26:23 -05:00
gfarb cf0b515799
update public action versions 2022-11-15 17:05:57 -05:00
gfarb c5767da2c6
implement GENERATE_RELEASE var in create branch workflow 2022-11-15 16:54:45 -05:00
gfarb 6aa0f20b88
Use GENERATE_RELEASE actions variable to release features 2022-11-15 16:51:22 -05:00
gfarb 8d0851f6bb
fix workflow syntax 2022-11-15 16:35:56 -05:00
gfarb 6ed2cfe8b9
@actions/core installation, Release Branch Pull Request Handler workflow 2022-11-15 16:31:18 -05:00
gfarb bfc79493b9
clean up 2022-11-14 12:30:02 -05:00
gfarb 573b1896a4
code cleanup 2022-11-14 11:10:38 -05:00
gfarb 42fc530b74
fix workflow triggers 2022-11-14 11:00:43 -05:00
gfarb a2b335392b
clean up verbiage 2022-11-14 10:58:44 -05:00
gfarb 9efb536d70
fix workflow triggers 2022-11-14 10:54:11 -05:00
gfarb e0c6ed44c6
fix workflow triggers 2022-11-14 10:53:38 -05:00