Update reaction participants #540
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: Update reaction participants | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '23 2 * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
container: obolibrary/odkfull:${{ vars.ODK_VERSION }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Work around https://github.com/peter-evans/create-pull-request/issues/1170 | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Update reaction participants | |
run: cd src/ontology && make imports/go-catalytic-activities-participants.owl imports/go-catalytic-activities-participants.obo && cd ../.. | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: Update reaction participants | |
branch: update-reaction-participants | |
add-paths: | | |
src/ontology/imports/go-catalytic-activities-participants.owl | |
src/ontology/imports/go-catalytic-activities-participants.obo | |
token: ${{ secrets.PR_ACTION_TOKEN }} |