We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b39f1e commit ed0f753Copy full SHA for ed0f753
.github/workflows/stdError_wrap.yml
@@ -23,8 +23,20 @@ jobs:
23
24
- name: Commit + force-push to stdError-Wrapped
25
run: |
26
+ set -euo pipefail
27
+ set -x
28
+
29
+ echo " == Configure git =="
30
git config --global user.name "GitHub Actions Bot"
31
git config --global user.email "actions@github.com"
32
33
+ echo "== Current status =="
34
+ git status -s
35
36
+ echo " == Add changes =="
37
git add -A
38
git commit -m "Wrapped latest changes in stdError sentries" || echo "No changes to commit"
- 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