feat: Implement Automated Publishing via Tag & Disable Dependabot #130
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.
Description
This Pull Request introduces two key changes to our repository:
Automated Package Publishing: We are implementing automated publishing for our main Dart package. Following the official Dart recommendations (https://dart.dev/tools/pub/automated-publishing), pushing a new Git tag (e.g.,
v1.0.0
,v1.0.1+hotfix.1
) will now automatically trigger the publication of the package to pub.dev. This streamlines our release process and ensures consistent publishing.To achieve this, a new GitHub Actions workflow has been added (
.github/workflows/publish.yml
). This workflow listens forpush
events on tags and executes thedart pub publish --force
command after a successful build and test run.Dependabot Disablement: Dependabot has been disabled for the main Dart package. While Dependabot is valuable for certain projects, for our primary package, we prefer to manage dependencies manually and with more control. This decision aims to reduce noise from automated PRs and allows us to address dependency updates strategically during our development cycles.
This has been configured in the
.github/dependabot.yml
file by settingopen-pull-requests-limit: 0
for the Dart ecosystem, or by removing the Dart configuration entirely.Changes Proposed:
.github/workflows/publish.yml
for automated package publishing..github/dependabot.yml
to disable Dependabot for Dart dependencies.