https://github.com/snakemake/snakedeploy-github-action
A github action for using snakedeploy
https://github.com/snakemake/snakedeploy-github-action
Last synced: 10 days ago
JSON representation
A github action for using snakedeploy
- Host: GitHub
- URL: https://github.com/snakemake/snakedeploy-github-action
- Owner: snakemake
- License: mit
- Created: 2022-08-16T11:37:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T09:50:34.000Z (over 3 years ago)
- Last Synced: 2025-02-03T06:03:22.501Z (over 1 year ago)
- Language: Dockerfile
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# snakedeploy-github-action
A github action for using snakedeploy
## Example usages
```yaml
- name: Update conda envs
uses: snakemake/snakedeploy-github-action@v1
with:
subcommand: update-conda-envs
args: workflow/envs/*.yaml
- name: Update conda envs and also create pinnings
uses: snakemake/snakedeploy-github-action@v1
with:
subcommand: update-conda-envs
args: workflow/envs/*.yaml --pin-envs
- name: Update pinnings
uses: snakemake/snakedeploy-github-action@v1
with:
subcommand: pin-conda-envs
args: workflow/envs/*.yaml
```
For automatically creating PRs from the changes, you can use
```yaml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
branch: autobump/conda-envs
title: "perf: autobump conda envs"
# this needs a personal access token such that checks are triggered on the created PR, see https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
token: ${secrets.GITHUB_PAT}
```