dart_dependency_updater 1.0.19 dart_dependency_updater: ^1.0.19 copied to clipboard
A package that will scan for dependencies in a Dart repo, update them if needed, and can update the repo with them.
actions_dart_dependency_updater #
Introduction #
Updates the dependencies of a Dart / Flutter repo automatically and optionally creates and merges the PR associated with the changes if all status checks on the PR are successful.
Inputs #
Name | Default | Description |
---|---|---|
branch |
main |
Branch to check for the dependencies |
channel |
stable |
Dart / Flutter channel to use for the build |
paths |
. |
(Optional) Comma delimited list of paths |
merge |
true |
(Optional) Set to true to automatically merge the PR when status checks pass, set to false otherwise |
pull_request |
true |
(Optional) Set to true to automatically create a pull request when paths change, set to false otherwise |
token |
n/a | Access token for GH. Typically: ${{ secrets.GITHUB_TOKEN }} |
Example usage #
name: Update Dart / Flutter dependencies
on:
schedule:
- cron: "0 0 * * 0"
jobs:
dependencies:
runs-on: ubuntu-latest
steps:
- name: Dependencies
uses: peiffer-innovations/actions-dart-dependency-updater@v1.0.18
with:
merge: true
pull_request: true
token: ${{ secrets.GITHUB_TOKEN }}