-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: push auto-generated files directly instead of using PRs #2275
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
d613b3e
chore: move auto-generated files update to direct pushes instead of PRs
nirinchev 57c2e16
Don't allow empty commits
nirinchev 626cd7a
Use the devtoolsbot token
nirinchev d6dd385
Use the devtoolsbot token for update-node-js workflow
nirinchev 649b412
clean up update node workflow
nirinchev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a drive-by - I noticed the update-node-js workflow didn't trigger GHA workflow since it created a PR with the workflow token.