-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (41 loc) · 2.07 KB
/
cwl_readme.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
35
36
37
38
39
40
41
42
on:
push:
paths:
- common/cwl/README.md
workflow_dispatch:
name: CWL README
jobs:
cwl_readme:
runs-on: self-hosted
steps:
- uses: peter-murray/workflow-application-token-action@v3
id: generate_token
with:
application_id: ${{ vars.GHAPUSH }}
application_private_key: ${{ secrets.GHAPUSH }}
- uses: actions/checkout@v3
with:
token: ${{ steps.generate_token.outputs.token }}
- name: Copy README files
run: |
cp common/cwl/README.md biobb_wf_amber_abc_setup/cwl/README.md
cp common/cwl/README.md biobb_wf_amber_md_setup/cwl/README.md
cp common/cwl/README.md biobb_wf_amber_md_setup_lig/cwl/README.md
cp common/cwl/README.md biobb_wf_flexdyn/cwl/README.md
sed -i '13a\> \*\*IMPORTANT!\*\* The Concoord software doesn'\''t work with dockers on Mac ARM, so in case you are using this type of computer, please comment the steps 4 to 7 as indicated in both \*\*workflow.cwl\*\* and \*\*workflow_input_descriptions.yml\*\* files.' biobb_wf_flexdyn/cwl/README.md
sed -i '14a\\' biobb_wf_flexdyn/cwl/README.md
cp common/cwl/README.md biobb_wf_flexserv/cwl/README.md
cp common/cwl/README.md biobb_wf_godmd/cwl/README.md
cp common/cwl/README.md biobb_wf_ligand_parameterization/cwl/README.md
cp common/cwl/README.md biobb_wf_md_setup/cwl/README.md
cp common/cwl/README.md biobb_wf_md_setup_mutations/cwl/README.mdd
cp common/cwl/README.md biobb_wf_protein-complex_md_setup/cwl/README.md
cp common/cwl/README.md biobb_wf_structure_checking/cwl/README.md
cp common/cwl/README.md biobb_wf_virtual-screening_fpocket/cwl/README.md
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add */cwl/README.md && git commit -m "Updated CWL README" && git push