We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bed233 commit 13162ccCopy full SHA for 13162cc
.github/workflows/linearize_main.yaml
@@ -61,6 +61,9 @@ jobs:
61
rm -rf automated_commits_m114.json
62
git stash pop
63
git add --ignore-removal automated_commits_m114.json
64
- git commit -m "Linearization refresh on $(date +'%Y-%m-%d')."
65
- git push --force origin experimental/rebase_tools:experimental/rebase_tools
66
- #NOTHING PERSONAL
+ if git diff --quiet --cached; then
+ echo "No changes detected. Nothing to update."
+ else
67
+ git commit -m "Linearization refresh on $(date +'%Y-%m-%d')."
68
+ git push --force origin experimental/rebase_tools:experimental/rebase_tools
69
+ fi
0 commit comments