Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
ShaharNaveh committed Nov 15, 2025
commit 65549b24e9a50e4a2d4bed34716497d607fa47b3
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
continue-on-error: true # Will fail if nothing to commit

- name: Comment on PR
if: ${{ steps.git_commit.outcome == 'success' }}
if: ${{ steps.git-commit.outcome == 'success' }}
uses: marocchino/sticky-pull-request-comment@v2
with:
number: ${{ github.event.pull_request.number }}
Expand All @@ -164,14 +164,16 @@ jobs:
**Run**: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

- name: git push
run: git push origin HEAD:${{ github.event.pull_request.head.ref }}
run: git push origin HEAD:${{ env.HEAD_REF }}
env:
HEAD_REF: ${{ github.event.pull_request.head.ref }}
if: steps.git-commit.outcome == 'success'

# This step is not really needed as the earlier push should cancel this run anyways.
# But we are making sure that we abort if we had badly formatted files.
- name: Exit if changed
run: exit 1
if: ${{ steps.git_commit.outcome == 'success' }}
if: ${{ steps.git-commit.outcome == 'success' }}

rust_tests:
if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}
Expand Down
Loading