Skip to content

Auto-update mamba #4595

Auto-update mamba

Auto-update mamba #4595

Workflow file for this run

name: Auto-update mamba
on:
schedule:
- cron: "0 */6 * * *"
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.MINIFORGE_AUTOUPDATE_SSH_PRIVATE_KEY }}
- uses: conda-incubator/[email protected]
with:
miniforge-variant: Miniforge3
environment-file: .github/actions/autoupdate/environment.yml
- run: python .github/actions/autoupdate/update.py
- name: Create Pull Request
id: cpr
# This is the v3 tag but for security purposes we pin to the exact commit.
uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83
with:
commit-message: "Update mamba version"
title: "Update mamba version"
body: |
This PR was created by the autoupdate action as it detected that
the mamba version has changed and thus should be updated
in the configuration.
Due to limitations of Github Actions, you will need to close/reopen
the PR to get the actions running.
branch: autoupdate-action
delete-branch: true