Skip to content

Commit ed0f753

Browse files
committed
Additional Action logging
1 parent 3b39f1e commit ed0f753

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/stdError_wrap.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,20 @@ jobs:
2323

2424
- name: Commit + force-push to stdError-Wrapped
2525
run: |
26+
set -euo pipefail
27+
set -x
28+
29+
echo " == Configure git =="
2630
git config --global user.name "GitHub Actions Bot"
2731
git config --global user.email "actions@github.com"
32+
33+
echo "== Current status =="
34+
git status -s
35+
36+
echo " == Add changes =="
2837
git add -A
2938
git commit -m "Wrapped latest changes in stdError sentries" || echo "No changes to commit"
30-
git push --force origin HEAD:stdError-Wrapped # <-- --force in the right place
39+
git log -1 --oneline
40+
41+
echo "== Force-push =="
42+
git push --verbose origin +HEAD:stdError-Wrapped

0 commit comments

Comments
 (0)