You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/python_uniffi_ci_cd.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -270,5 +270,6 @@ jobs:
270
270
- name: Reset branch
271
271
run: |
272
272
# Hard reset to the original SHA that triggered the workflow
273
-
git reset --hard ${{ github.sha }}
274
-
git push --force
273
+
git revert --no-commit HEAD
274
+
git commit -m "chore(python/${{ inputs.crate }}): revert version commit made by CI due to failure" -m "failed run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
0 commit comments