Cron upgrade Flutter packages #48
This file contains 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
name: Cron upgrade Flutter packages | |
on: | |
schedule: | |
- cron: "0 10 * * *" | |
jobs: | |
upgrader: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- uses: actions/checkout@v4 | |
- run: flutter pub get | |
- run: flutter pub upgrade | |
- uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
commit-message: "Upgrade Flutter packages" | |
title: "Upgrade Flutter packages" | |
body: "Upgrade Flutter packages" | |
branch: upgrade-packages | |
branch-suffix: timestamp | |
labels: "dependencies,dart" | |
signoff: true | |
delete-branch: true |