Skip to content

Commit 88bb4df

Browse files
committed
Use signed commits
1 parent cde9f15 commit 88bb4df

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/update-prices.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,7 @@ jobs:
2727
run: node scripts/update-prices.js
2828

2929
- name: Commit and push changes
30-
run: |
31-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
32-
git config --local user.name "github-actions[bot]"
33-
34-
if git diff --quiet; then
35-
echo "No changes to commit"
36-
else
37-
git add src/prices/rose-usd.json
38-
git commit -m "chore: update ROSE/USD prices"
39-
git push
40-
fi
30+
uses: stefanzweifel/git-auto-commit-action@v7
31+
with:
32+
commit_message: "chore: update ROSE/USD prices"
33+
file_pattern: src/prices/rose-usd.json

0 commit comments

Comments
 (0)