Skip to content

Commit

Permalink
updated ochange workflow for kgcl-java
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Nov 2, 2023
1 parent 01a1be7 commit 1099a33
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/new-pr-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# jobs:
# build:
# runs-on: ${{ matrix.os }}
# container: obolibrary/odkfull:v1.4.1
# container: obolibrary/odkfull:v1.4.3
# strategy:
# matrix:
# python-version: ["3.9"]
Expand All @@ -18,11 +18,6 @@
# - name: Checkout main branch
# uses: actions/checkout@v3

# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v3
# with:
# python-version: ${{ matrix.python-version }}

# - name: Return issue number
# id: gh-script-issue
# uses: actions/github-script@v6
Expand All @@ -45,32 +40,41 @@
# - name: Set branch name
# id: vars
# run: |
# echo "resource=cl-base.owl" >> $GITHUB_ENV
# echo "resource=src/envo/envo-edit.owl" >> $GITHUB_ENV
# echo "branch-name=kgcl_automation_"${{ steps.gh-script-issue.outputs.result }} >> $GITHUB_ENV

# - name: Get jar & create alias command.
# run: wget https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-standalone-0.2.0.jar -O kgcl-robot.jar

# run: |
# mkdir -p robot-plugins
# wget https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar -O robot-plugins/kgcl.jar
# echo "ROBOT_PLUGINS_DIRECTORY=$(pwd)/robot-plugins/" >> "$GITHUB_ENV"

# - name: Install dependencies
# run: |
# pip install ontobot-change-agent
# pip install git+https://github.com/hrshdhgd/ontobot-change-agent.git

# - name: Run ochange
# id: ochange
# run: |
# ochange process-issue ${{ env.resource }} \
# -r ${{ steps.gh-script-repo.outputs.result }} \
# -n ${{ steps.gh-script-issue.outputs.result }} \
# -g ${{ secrets.GH_TOKEN }} \
# -j kgcl-robot.jar
# -g ${{ secrets.GH_TOKEN }}
# ! OR using standalone JAR file.
# ! ochange process-issue ${{ env.resource }} \
# ! -r ${{ steps.gh-script-repo.outputs.result }} \
# ! -n ${{ steps.gh-script-issue.outputs.result }} \
# ! -g ${{ secrets.GH_TOKEN }} \
# ! -j kgcl-robot.jar

# - name: Clean-up
# run: rm -f kgcl-robot.jar
# run: rm -rf robot-plugins

# - name: Create Pull Request
# uses: peter-evans/create-pull-request@v5
# # if: ${{ env.PR_TITLE}}
# if: ${{ env.PR_TITLE}}
# with:
# token: ${{ secrets.GH_TOKEN }}
# branch-suffix: short-commit-hash
# labels: Automated
# author: ${{ env.ISSUE_CREATOR }} <${{ env.ISSUE_CREATOR }}@users.noreply.github.com>
Expand All @@ -79,4 +83,3 @@
# title: ${{ env.PR_TITLE }}
# base: ${{ github.head_ref }}
# branch: ${{ env.branch-name }}
# # token: ${{ secrets.GH_TOKEN }}

0 comments on commit 1099a33

Please sign in to comment.