Skip to content

Auto-run publish job#358

Merged
fuchsnj merged 2 commits into
mainfrom
fuchsnj/ci_auto_publish
May 22, 2026
Merged

Auto-run publish job#358
fuchsnj merged 2 commits into
mainfrom
fuchsnj/ci_auto_publish

Conversation

@fuchsnj
Copy link
Copy Markdown
Contributor

@fuchsnj fuchsnj commented May 22, 2026

Jira

The crates.io publish job works, so I'm enabling it on merges to main automatically.

@fuchsnj fuchsnj requested a review from a team as a code owner May 22, 2026 17:13
Copy link
Copy Markdown
Contributor

@isabella-garza-datadog isabella-garza-datadog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left one small comment

Comment thread .github/workflows/publish-crate.yml Outdated
Comment on lines +65 to +68
if: ${{ !inputs.dry_run }}
if: ${{ !inputs.dry_run || inputs.dry_run == 'false' }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Since inputs are unset on push events, could we make the intended behavior explicit? For example, auth/publish could use if: ${{ github.event_name == 'push' || !inputs.dry_run }} to say “publish on main pushes, and publish manual runs unless dry_run is true.”

@fuchsnj fuchsnj enabled auto-merge (squash) May 22, 2026 18:27
@fuchsnj fuchsnj merged commit ea91940 into main May 22, 2026
4 checks passed
@fuchsnj fuchsnj deleted the fuchsnj/ci_auto_publish branch May 22, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants