Skip to content

Commit

Permalink
Update commit step
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Dec 4, 2023
1 parent 58c38ab commit a32adea
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/tokens-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}

- name: Set up Flutter
uses: "./.github/actions/setup"
Expand All @@ -18,10 +20,14 @@ jobs:
run: melos gen_theme

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automated commit of generated tailor files
file_pattern: "*tailor.dart"
run: |
git config --local user.email "[email protected]"
git config --local user.name "mews-tech"
git add .
git commit -m "Update generated files"
git push origin ${{ github.ref_name }}
- name: Create Pull Request
uses: repo-sync/pull-request@v2
Expand Down

0 comments on commit a32adea

Please sign in to comment.