We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b648788 commit 69c138dCopy full SHA for 69c138d
.github/workflows/update-automation.yaml
@@ -55,11 +55,15 @@ jobs:
55
git checkout "$LATEST_TAG"
56
cd ..
57
58
- # Commit the submodule update
59
- git add third-party-src
60
- git commit -m "Update VS Code submodule to $LATEST_TAG"
+ echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
+ echo "STAGING_BRANCH=$STAGING_BRANCH" >> $GITHUB_ENV
61
62
- git push origin "$STAGING_BRANCH"
+ - name: Commit and push changes
+ uses: EndBug/add-and-commit@v9
63
+ with:
64
+ add: 'third-party-src'
65
+ message: 'Update VS Code submodule to ${{ env.LATEST_TAG }}'
66
+ new_branch: ${{ env.STAGING_BRANCH }}
67
+ default_author: github_actions
68
- echo "Created staging branch: $STAGING_BRANCH with VS Code $LATEST_TAG"
- fi
69
+
0 commit comments