File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -117,14 +117,10 @@ jobs:
117117 # 5 Commit & push changes if releases.json changed
118118 - name : Commit and push if changed
119119 run : |
120- git config user.name "github-actions "
121- git config user.email "github-actions@github.com "
120+ git config user.name "AboutCode Automation "
121+ git config user.email "automation@aboutcode.org "
122122 git add website/static/releases.json
123- if ! git diff --cached --quiet; then
124- git commit -m "Update releases for ${{ matrix.repo }}"
125- git pull --rebase origin main
126- git push
127- else
128- echo "No changes detected"
129- fi
123+ git commit -m "$(echo -e "Update releases for ${{ matrix.repo }}\n\nSigned-off-by: AboutCode Automation <automation@aboutcode.org>")" || exit 0
124+ git pull --rebase origin main
125+ git push
130126 shell : bash
You can’t perform that action at this time.
0 commit comments