mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
Codeowners update script: Pull before push (#55493)
* Pull from git before pushing the codeowners update * Allow trigginer the codeowners
This commit is contained in:
@@ -28,6 +28,7 @@ main().then(() => {
|
||||
runSequence([
|
||||
["git", ["add", ".github/CODEOWNERS"]], // Add CODEOWNERS
|
||||
["git", ["commit", "-m", `"🤖 Update CODEOWNERS"`]], // Commit all changes
|
||||
["git", ["pull"]], // Ensure we're up-to-date
|
||||
["git", ["push"]] // push the branch
|
||||
]);
|
||||
console.log(`Pushed new commit.`);
|
||||
|
||||
Reference in New Issue
Block a user