-
Notifications
You must be signed in to change notification settings - Fork 18
34 lines (27 loc) · 1021 Bytes
/
imports.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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