forked from mlcommons/cm4mlops
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mlcommons:mlperf-inference' into mlperf-inference
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,14 +46,15 @@ jobs: | |
git config --global user.email "[email protected]" | ||
# Commit changes | ||
git commit -m '[Automated Commit] Format Codebase' | ||
git push | ||
# Push changes to a new branch | ||
BRANCH_NAME="auto/code-format" | ||
git branch $BRANCH_NAME | ||
git push origin $BRANCH_NAME --force | ||
#BRANCH_NAME="auto/code-format" | ||
#git branch $BRANCH_NAME | ||
#git push origin $BRANCH_NAME --force | ||
|
||
# Create a pull request to the "code-format" branch | ||
gh pr create --base code-format --head $BRANCH_NAME --title "[Automated PR] Format Codebase" --body "This pull request contains automated code formatting changes." | ||
fi | ||
env: | ||
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
#gh pr create --base code-format --head $BRANCH_NAME --title "[Automated PR] Format Codebase" --body "This pull request contains automated code formatting changes." | ||
fi | ||
# env: | ||
# GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} |