REL: 2024.10 #67
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: 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. |