Skip to content

feat: Update version nb #12

feat: Update version nb

feat: Update version nb #12

Workflow file for this run

name: Flutter CI/CD
on:
push:
branches:
- '**'
jobs:
mobile-app-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: dart format .
- name: Commit and push changes to new branch
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git checkout -b format
git commit -am "Apply dart formatting"
git push origin format
- name: Create Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create -B main -H format --title 'Merge format into main' --body 'Created by Github action'