The url that resolves the hpath ontology #360
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: "Register new prefix" | |
on: | |
workflow_dispatch: | |
issues: | |
types: [ opened ] | |
jobs: | |
register: | |
name: Register new prefix | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ 3.9 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install -e .[gha] | |
- name: Update | |
id: update | |
run: python -m bioregistry.gh.new_prefix --github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch-suffix: short-commit-hash | |
labels: New,Prefix | |
body: ${{ steps.update.outputs.BR_BODY }} | |
title: ${{ steps.update.outputs.BR_TITLE }} |