-
Notifications
You must be signed in to change notification settings - Fork 5
62 lines (56 loc) · 1.82 KB
/
render_tools.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Render Galaxy Tools
on:
workflow_dispatch: {}
push:
branches: [main]
paths-ignore:
- 'tool_collections/**'
- 'tools/**'
- 'README.md'
pull_request:
branches: [main]
paths-ignore:
- 'tool_collections/**'
- 'tools/**'
- 'README.md'
jobs:
render:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: ""
- name: render tools
shell: bash -l {0}
run: |
conda install pyyaml
make render
- name: create tools PR
uses: peter-evans/create-pull-request@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
add-paths: tools
branch: create-pull-request/patch-tools
token: ${{ secrets.Q2D2_TOKEN }}
commit-message: Update Galaxy Tools
committer: q2d2 <[email protected]>
author: q2d2 <[email protected]>
title: Automated re-render of Galaxy Tools
body: Results of `make render` on `main`
- name: create collections PR
uses: peter-evans/create-pull-request@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
add-paths: tool_collections
branch: create-pull-request/patch-collections
token: ${{ secrets.Q2D2_TOKEN }}
commit-message: Update Galaxy Tool Collections
committer: q2d2 <[email protected]>
author: q2d2 <[email protected]>
title: Automated re-render of Galaxy Tool Collections (wait to merge)
body: |
Results of `make render` on `main`.
DO NOT MERGE until all tools in the sibling PR have successfully deployed.