Skip to content

autobump

autobump #122

Workflow file for this run

name: autobump
on:
workflow_dispatch:
schedule:
- cron: "50 0 * * 5"
concurrency:
group: '${{ github.workflow }}'
cancel-in-progress: true
jobs:
autobump:
strategy:
fail-fast: false
max-parallel: 1
matrix:
prefix: ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.SNAKEDEPLOY_BOT_APP_ID }}
private_key: ${{ secrets.SNAKEDEPLOY_BOT_PRIVATE_KEY }}
- name: Update conda envs
uses: snakemake/snakedeploy-github-action@v1
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
with:
subcommand: update-conda-envs
args: "*/${{ matrix.prefix }}*/environment.yaml */${{ matrix.prefix }}*/*/environment.yaml --create-prs --warn-on-error --entity-regex '(?P<entity>.+)/environment.yaml' --pr-add-label --pin-envs"