Repository navigation
ci: remove the pub.dev publish workflow - #515
Merged
Merged
Conversation
Releases are git tags and the workflow check now rejects any publish step. Run-Id: w:20261021T235453Z-8c6cea
…nstall text Run-Id: w:20261022T000942Z-2f271c
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This package is never published to pub.dev. Releases are immutable git tags.
.github/workflows/publish_dart_monty.yaml, which randart pub publish --forceon a stable tag.tool/check_workflows_valid.shnow fails on any workflow line containingpub publish, including--dry-run, and fails when no workflow file exists. The check runs first, in standard-library Python, before the actionlint download, so a missing tool cannot skip it.dart pub add --git-url ... --git-ref, and its pub.dev links are gone.no-changelog: CI, contributor docs and the demo landing page only; no library or published dependency change.
Pre-PR review
Independent review of both commits with each finding verified. The first review found a check that a missing tool could bypass and two remaining pub.dev install references; the second commit fixes all three, and the re-review verified the fixes.
dart analyze --fatal-infosand the DCM host gate pass.bash tool/check_workflows_valid.shpasses on the branch and fails on a workflow containingdart pub publish --dry-run.reviewed at 7dbc6f3