Refresh imports #30
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: Refresh imports | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 1 * *" | |
jobs: | |
imports: | |
runs-on: ubuntu-latest | |
container: obolibrary/odkfull:v1.5.2 | |
steps: | |
# Checks-out current branch | |
- name: Checkout main branch | |
uses: actions/checkout@v2 | |
- name: work around permission issue | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Refreshing imports | |
run: cd src/ontology/ && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx10G' GITHUB_ACTION=true refresh-imports | |
- name: Recreate components | |
run: cd src/ontology/ && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx10G' GITHUB_ACTION=true recreate-components | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Update imports and components | |
title: 'Update all imports and components' | |
body: | | |
Updates all imports and components. | |
assignees: matentzn |