File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 fi
3636
3737 - name : Commit to target repository
38- if : [ "${{ steps.clang-format-check.outputs.format_exit }}" -eq "0" ]
38+ if : " ${{ steps.clang-format-check.outputs.format_exit }}" == "0"
3939 env :
4040 TARGET_REPO : roiser/madgraph4gpu-generated-processes
4141 GH_TOKEN : ${{ secrets.MG4GPU_GEN_PAT }}
6565 echo "✅ Pushed to ${TARGET_REPO} on branch ${BRANCH_NAME}"
6666
6767 - name : Read patch file
68- if : [ "${{ steps.clang-format-check.outputs.format_exit }}" -ne "0" ]
68+ if : " ${{ steps.clang-format-check.outputs.format_exit }}" != "0"
6969 run : |
7070 {
7171 echo "patch_file_content<<EOF"
7474 } >> $GITHUB_OUTPUT
7575
7676 - name : Comment on PR with format issues
77- if : [ "${{ steps.clang-format-check.outputs.format_exit }}" -ne "0" ]
77+ if : " ${{ steps.clang-format-check.outputs.format_exit }}" != "0"
7878 uses : actions/github-script@v7
7979 with :
8080 script : |
9797 });
9898
9999 - name : Fail if format check failed
100- if : [ "${{ steps.clang-format-check.outputs.format_exit }}" -ne "0" ]
100+ if : " ${{ steps.clang-format-check.outputs.format_exit }}" != "0"
101101 run : exit 1
You can’t perform that action at this time.
0 commit comments