diff --git a/.github/workflows/new-pr-java.yml b/.github/workflows/new-pr-java.yml index 0ccdaba..df82b47 100644 --- a/.github/workflows/new-pr-java.yml +++ b/.github/workflows/new-pr-java.yml @@ -130,20 +130,24 @@ # run: | # pip install ontobot-change-agent -# - name: Run ochange -# id: ochange +# - name: Run ochange with comment-id +# if: ${{ env.comment-id != '' }} +# id: ochange_with_comment # run: | -# cmd="ochange process-issue ${{ env.resource }} \ +# ochange process-issue ${{ env.resource }} \ # -r ${{ steps.gh-script-repo.outputs.result }} \ # -n ${{ steps.gh-script-issue.outputs.result }} \ -# -g ${{ secrets.GH_TOKEN }}" - -# if [ "${{ needs.check.outputs.commentId }}" != "null" ]; then -# cmd="$cmd -c ${{ needs.check.outputs.commentId }}" -# fi - -# echo "Running command: $cmd" -# eval $cmd +# -g ${{ secrets.GH_TOKEN }} \ +# -c ${{ env.comment-id }} + +# - name: Run ochange without comment-id +# if: ${{ env.comment-id == '' }} +# id: ochange_without_comment +# run: | +# ochange process-issue ${{ env.resource }} \ +# -r ${{ steps.gh-script-repo.outputs.result }} \ +# -n ${{ steps.gh-script-issue.outputs.result }} \ +# -g ${{ secrets.GH_TOKEN }} # - name: Clean-up # run: rm -rf robot-plugins