Skip to content

Commit e45216b

Browse files
Deleted usage of forbidden GitHub actions
1 parent 7b0f9a2 commit e45216b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/style.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
run: pint
2525

2626
- name: Commit linted files
27-
uses: stefanzweifel/git-auto-commit-action@v4
28-
with:
29-
commit_message: "Fix code styling"
27+
run: |
28+
git config user.name "github-actions[bot]"
29+
git config user.email "github-actions[bot]@users.noreply.github.com"
30+
git add .
31+
if git diff --cached --quiet; then
32+
echo "No changes to commit."
33+
else
34+
git commit -m "Fix code styling"
35+
git push
36+
fi

0 commit comments

Comments
 (0)