Table of Contents
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.
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 }} |
name: Update Dart / Flutter dependencies
on:
schedule:
- cron: "0 0 * * 0"
jobs:
dependencies:
runs-on: ubuntu-latest
steps:
- name: Dependencies
uses: peiffer-innovations/[email protected]
with:
merge: true
pull_request: true
token: ${{ secrets.GITHUB_TOKEN }}