-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: push auto-generated files directly instead of using PRs (#2275)
- Loading branch information
Showing
2 changed files
with
13 additions
and
27 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
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
|
||
# this is important so git log can pick up on | ||
# the whole history to generate the list of AUTHORS | ||
fetch-depth: '0' | ||
fetch-depth: "0" | ||
|
||
- name: Setup git | ||
run: | | ||
|
@@ -28,7 +28,7 @@ jobs: | |
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: 'npm' | ||
cache: "npm" | ||
|
||
- name: Install [email protected] | ||
run: | | ||
|
@@ -38,16 +38,14 @@ jobs: | |
run: | | ||
npm run update-node-js-versions | ||
npm run update-evergreen-config | ||
git add . | ||
git commit --no-allow-empty -m "chore: update node.js version" || true | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v6 | ||
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: 'chore: update node.js' | ||
token: ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }} | ||
commit-message: "chore: update node.js version" | ||
branch: ci/update-node-js-versions | ||
title: 'chore: update node.js' | ||
title: "chore: update node.js" | ||
body: | | ||
- Update node.js |