File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # run every week
2+ on :
3+ schedule :
4+ - cron : ' 0 0 * * 0'
5+ workflow_dispatch :
6+
7+ # cancel any in-progress runs if a new commit is pushed
8+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
9+ concurrency :
10+ group : ' autobump'
11+ cancel-in-progress : true
12+
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
17+ jobs :
18+ autobump :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v5
22+
23+ - name : Update conda envs and also create pinnings
24+ uses : snakemake/snakedeploy-github-action@v1
25+ with :
26+ subcommand : update-conda-envs
27+ args : workflow/envs/*.yaml --pin-envs
28+
29+ - name : Create Pull Request
30+ uses : peter-evans/create-pull-request@v7
31+ with :
32+ branch : perf/autobump
33+ title : " perf: autobump conda envs"
34+ token : ${secrets.AUTOBUMP_PAT}
35+ commit-message : " perf: autobump conda envs"
Original file line number Diff line number Diff line change 1+ # run every week
2+ on :
3+ schedule :
4+ - cron : ' 0 0 * * 0'
5+ workflow_dispatch :
6+
7+ # cancel any in-progress runs if a new commit is pushed
8+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
9+ concurrency :
10+ group : ' autobump'
11+ cancel-in-progress : true
12+
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
17+ jobs :
18+ autobump :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v5
22+
23+ - name : Update wrappers and meta-wrappers
24+ uses : snakemake/snakedeploy-github-action@v1
25+ with :
26+ subcommand : update-snakemake-wrappers
27+ args : workflow/Snakefile workflow/rules/*.smk
28+
29+ - name : Create Pull Request
30+ uses : peter-evans/create-pull-request@v7
31+ with :
32+ branch : perf/autobump
33+ title : " perf: autobump snakemake wrappers"
34+ token : ${secrets.AUTOBUMP_PAT}
35+ commit-message : " perf: autobump snakemake wrappers"
You can’t perform that action at this time.
0 commit comments