1- name : Create new pull request
1+ # name: Create new pull request
22
3- on :
4- workflow_dispatch :
5- issues :
6- types : [ opened, edited ]
3+ # on:
4+ # workflow_dispatch:
5+ # issues:
6+ # types: [ opened, edited ]
77
8- jobs :
9- build :
10- runs-on : ${{ matrix.os }}
11- strategy :
12- matrix :
13- python-version : ["3.9"]
14- os : [ ubuntu-latest ]
8+ # jobs:
9+ # build:
10+ # runs-on: ${{ matrix.os }}
11+ # strategy:
12+ # matrix:
13+ # python-version: ["3.9"]
14+ # os: [ ubuntu-latest ]
1515
16- steps :
17- - uses : actions/checkout@v3
18- - name : Set up Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v3
20- with :
21- python-version : ${{ matrix.python-version }}
16+ # steps:
17+ # - uses: actions/checkout@v3
18+ # - name: Set up Python ${{ matrix.python-version }}
19+ # uses: actions/setup-python@v3
20+ # with:
21+ # python-version: ${{ matrix.python-version }}
2222
23- - name : GH-Script
24- id : gh-script
25- 26- with :
27- github-token : ${{ secrets.GH_TOKEN }}
28- script : |
29- const issue_number = context.issue.number
30- return issue_number
23+ # - name: GH-Script
24+ # id: gh-script
25+ 26+ # with:
27+ # github-token: ${{ secrets.GH_TOKEN }}
28+ # script: |
29+ # const issue_number = context.issue.number
30+ # return issue_number
3131
32- - name : Set branch name
33- id : vars
34- run : |
35- echo ::set-output name=branch-name::"automated_branch"
32+ # - name: Set branch name
33+ # id: vars
34+ # run: |
35+ # echo ::set-output name=branch-name::"automated_branch"
3636
37- # ----------------------------------------------
38- # install & configure poetry
39- # ----------------------------------------------
40- - name : Install Poetry
41- 42- with :
43- virtualenvs-create : true
44- virtualenvs-in-project : true
45- # ----------------------------------------------
46- # load cached venv if cache exists
47- # ----------------------------------------------
48- - name : Load cached venv
49- id : cached-poetry-dependencies
50- uses : actions/cache@v3
51- with :
52- path : .venv
53- key : venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
37+ # #----------------------------------------------
38+ # # install & configure poetry
39+ # #----------------------------------------------
40+ # - name: Install Poetry
41+ 42+ # with:
43+ # virtualenvs-create: true
44+ # virtualenvs-in-project: true
45+ # #----------------------------------------------
46+ # # load cached venv if cache exists
47+ # #----------------------------------------------
48+ # - name: Load cached venv
49+ # id: cached-poetry-dependencies
50+ # uses: actions/cache@v3
51+ # with:
52+ # path: .venv
53+ # key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
5454
55- # ----------------------------------------------
56- # install dependencies if cache does not exist
57- # ----------------------------------------------
58- - name : Install dependencies
59- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
60- run : poetry install --no-interaction --no-root
55+ # #----------------------------------------------
56+ # # install dependencies if cache does not exist
57+ # #----------------------------------------------
58+ # - name: Install dependencies
59+ # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
60+ # run: poetry install --no-interaction --no-root
6161
62- - name : Run ocrawl
63- id : ocrawl
64- run : |
65- poetry add onto-crawler
66- echo ${{ secrets.GH_TOKEN }} >> src/onto_crawler/token.txt
67- poetry run ocrawl process-issue -n ${{ steps.vars.outputs.result }} -o test.obo
62+ # - name: Run ocrawl
63+ # id: ocrawl
64+ # run: |
65+ # poetry add onto-crawler
66+ # echo ${{ secrets.GH_TOKEN }} >> src/onto_crawler/token.txt
67+ # poetry run ocrawl process-issue -n ${{ steps.vars.outputs.result }} -o test.obo
6868
6969
7070
71- # - name: Create Pull Request
72- # uses: peter-evans/create-pull-request@v3
73- # with:
74- # branch-suffix: short-commit-hash
75- # labels: Automated
76- # body: ${{ steps.ocrawl.outputs.BR_BODY }}
77- # title: ${{ steps.ocrawl.outputs.BR_TITLE }}
78- # base: ${{ github.head_ref }}
79- # branch: ${{ steps.vars.outputs.branch-name }}
71+ # # - name: Create Pull Request
72+ # # uses: peter-evans/create-pull-request@v3
73+ # # with:
74+ # # branch-suffix: short-commit-hash
75+ # # labels: Automated
76+ # # body: ${{ steps.ocrawl.outputs.BR_BODY }}
77+ # # title: ${{ steps.ocrawl.outputs.BR_TITLE }}
78+ # # base: ${{ github.head_ref }}
79+ # # branch: ${{ steps.vars.outputs.branch-name }}
0 commit comments