Skip to content

Commit 2078442

Browse files
authored
CHANGE (CodeAnalyzer): @W-17514797@: v4 release process no longer runs yarn upgrade (#1727)
1 parent e449bae commit 2078442

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/create-release-branch.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
git push --set-upstream origin $INTERIM_BRANCH_NAME
5959
# Update dependencies.
6060
- run: |
61-
yarn upgrade
6261
node tools/UpdateRetireJsVulns.js
6362
# Use the GraphQL API to create a signed commit with the various changes.
6463
- name: Commit to interim branch
@@ -70,12 +69,11 @@ jobs:
7069
MESSAGE="Preparing for v$NEW_VERSION release."
7170
# GraphQL needs the latest versions of the files we changed, as Base64 encoded strings.
7271
NEW_PACKAGE="$(cat package.json | base64)"
73-
NEW_YARN_LOCK="$(cat yarn.lock | base64)"
7472
NEW_RETIREJS_VULNS="$(cat retire-js/RetireJsVulns.json | base64)"
7573
gh api graphql -F message="$MESSAGE" -F oldOid=`git rev-parse HEAD` -F branch="$BRANCH" \
76-
-F newPackage="$NEW_PACKAGE" -F newYarnLock="$NEW_YARN_LOCK" -F newRetireJsVulns="$NEW_RETIREJS_VULNS" \
74+
-F newPackage="$NEW_PACKAGE" -F newRetireJsVulns="$NEW_RETIREJS_VULNS" \
7775
-f query='
78-
mutation ($message: String!, $oldOid: GitObjectID!, $branch: String!, $newPackage: Base64String!, $newYarnLock: Base64String!, $newRetireJsVulns: Base64String!) {
76+
mutation ($message: String!, $oldOid: GitObjectID!, $branch: String!, $newPackage: Base64String!, $newRetireJsVulns: Base64String!) {
7977
createCommitOnBranch(input: {
8078
branch: {
8179
repositoryNameWithOwner: "forcedotcom/sfdx-scanner",
@@ -89,9 +87,6 @@ jobs:
8987
{
9088
path: "package.json",
9189
contents: $newPackage
92-
}, {
93-
path: "yarn.lock",
94-
contents: $newYarnLock
9590
}, {
9691
path: "retire-js/RetireJsVulns.json",
9792
contents: $newRetireJsVulns

0 commit comments

Comments
 (0)