Skip to content

Commit

Permalink
flutter: Fix pushing PR in flutter-ref-images-bump.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Dec 8, 2024
1 parent 37f0228 commit 9856b2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/flutter-ref-images-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
cd ../..
git add tests/reference-images/
if [ -n "$(git status --porcelain)" ]; then
BRANCH_NAME=update/ref-images/`git rev-parse HEAD`
git checkout -B $BRANCH_NAME
git commit -m "Bump tests/reference-images/"
git push origin $BRANCH_NAME
gh pr create --base main --title "Bump tests/reference-images/" --body "Automatically created via GH actions."
fi
env:
Expand Down

0 comments on commit 9856b2a

Please sign in to comment.