Skip to content

Commit e4b1dfe

Browse files
authored
Update prep-dev.yml
1 parent 2d8700b commit e4b1dfe

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/prep-dev.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,10 @@ jobs:
6464
echo "changed=true" >> $GITHUB_OUTPUT
6565
fi
6666
67-
- name: Commit and push changes
67+
- name: Commit & Push changes
6868
if: steps.check-changes.outputs.changed == 'true'
69-
run: |
70-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
71-
git config --local user.name "github-actions[bot]"
72-
git add buildSrc/src/main/java/Packaging.kt
73-
git commit -m "build: update Flipcash versioning to ${{ steps.date.outputs.YEAR }}.${{ steps.date.outputs.MONTH }}"
74-
git push
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
uses: actions-js/push@master
70+
with:
71+
message: "build: update Flipcash versioning to ${{ steps.date.outputs.YEAR }}.${{ steps.date.outputs.MONTH }}"
72+
branch: "code/cash"
73+
github_token: ${{ secrets.BOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)