axodotdev / axodotdev/cargo-dist

Trigger cargo-dist on pushes/merges to default branch

Open
#1,654 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

When using GitHub Actions, is there a way to configure `cargo-dist` to run in something similar to `pr-run-mode = "upload"` (where artifacts are uploaded to a workflow run but not added to a release) whenever a PR is merged to `main`/`master` and/or a commit is pushed to that branch, without the user having to also push a tag whenever this happens? Would manually editing `release.yml` to add `on: {push: {branches: [main]}}` be sufficient to get this behavior, or would that just create a mess? If there is currently no way to get this behavior, could you consider supporting it?

Contributor guide

Open the contributing guide

Research direction

Start by reading the generated release.yml workflow and the existing pr-run-mode = "upload" behavior. Check how workflow triggers, default-branch pushes, tags, artifacts, and releases are currently handled. Done means the requested default-branch event behavior is clearly supported or its limitations are documented without creating unintended releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.