.github/workflows/autobump-wrappers.yml #35
This file contains hidden or 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
| # run every week | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 0' | |
| workflow_dispatch: | |
| # cancel any in-progress runs if a new commit is pushed | |
| # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency | |
| concurrency: | |
| group: 'autobump' | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| autobump: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Update wrappers and meta-wrappers | |
| uses: snakemake/snakedeploy-github-action@v1 | |
| with: | |
| subcommand: update-snakemake-wrappers | |
| args: workflow/Snakefile workflow/rules/*.smk | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| branch: perf/autobump | |
| title: "perf: autobump snakemake wrappers" | |
| token: ${{ secrets.AUTOBUMP_PAT }} | |
| commit-message: "perf: autobump snakemake wrappers" |