chore(release): publish packages #350
Workflow file for this run
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: Update .lock files on dependabot PR | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
dependabot_folow_up: | |
if: github.actor == 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up Flutter | |
uses: ./.github/actions/setup | |
- name: Get dependencies | |
run: melos bs | |
- name: Check if .lock was changed | |
id: lock_changed | |
run: git status --porcelain | grep -q '.lock' | |
continue-on-error: true | |
- name: Commit changes | |
if: steps.lock_changed.outcome == 'success' | |
run: | | |
git config --local user.email "tech.account@mewssystems.com" | |
git config --local user.name "mews-tech" | |
git add \*.lock | |
git commit -m "Update .lock files" | |
git push origin ${{ github.head_ref }} |