-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a437fd
commit b1532c7
Showing
1 changed file
with
4 additions
and
4 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ concurrency: | |
|
||
jobs: | ||
strip-transform-notebooks: | ||
if: github.event.commits[0].author.name != 'GitHubActions' | ||
if: github.event.commits[0].author.name != 'metricsml-bot' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -100,8 +100,8 @@ jobs: | |
- name: Commit and push stripped .ipynb files | ||
if: steps.verify_diff.outputs.changed == 'true' | ||
run: | | ||
git config --global user.name 'GitHubActions' | ||
git config --global user.email '<>' | ||
git config --global user.name 'metricsml-bot' | ||
git config --global user.email '[email protected]' | ||
git pull | ||
dirs=(PM1 PM2 PM3 PM4 PM5 CM1 CM2 CM3 AC1 AC2 T) | ||
for dir in "${dirs[@]}"; do | ||
|
@@ -114,4 +114,4 @@ jobs: | |
fi | ||
done | ||
git commit -m 'Strip outputs from .ipynb files [skip ci]' | ||
git push | ||
git push --force-with-lease |