Add EC:2.7.4.25 xref to GO:0004127 cytidylate kinase activity #1638
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create new pull request | |
on: | |
workflow_dispatch: | |
issues: | |
types: [ opened, edited ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
os: [ ubuntu-latest ] | |
steps: | |
- 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 | |
with: | |
# github-token: ${{ secrets.GH_TOKEN }} | |
script: | | |
const issue_number = context.issue.number | |
const repo = context.repo.owner+"/"+context.repo.repo | |
return issue_number | |
- name: Return repository name | |
id: gh-script-repo | |
uses: actions/github-script@v6 | |
with: | |
# github-token: ${{ secrets.GH_TOKEN }} | |
script: | | |
const repo = context.repo.owner+"/"+context.repo.repo | |
return repo | |
- name: Set branch name | |
id: vars | |
run: | | |
echo "branch-name=ochange_automation_"${{ steps.gh-script-issue.outputs.result }} >> $GITHUB_ENV | |
echo "resource=src/ontology/go-edit.obo" >> $GITHUB_ENV | |
- name: Install dependencies | |
run: | | |
pip install ontobot-change-agent | |
- 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 }} \ | |
-p GO | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
if: ${{ env.PR_TITLE}} | |
with: | |
branch-suffix: short-commit-hash | |
labels: Automated | |
body: ${{ env.PR_BODY }} | |
title: ${{ env.PR_TITLE }} | |
author: ${{ env.ISSUE_CREATOR }} <${{ env.ISSUE_CREATOR }}@users.noreply.github.com> | |
committer: ${{ env.ISSUE_CREATOR }} <${{ env.ISSUE_CREATOR }}@users.noreply.github.com> | |
base: ${{ github.head_ref }} | |
branch: ${{ env.branch-name }} | |
# token: ${{ secrets.GH_TOKEN }} |