fix: Change the way checking if the file changed
All checks were successful
DCO checker / DCO checker (pull_request) Successful in 2s
Rust CI / Rust CI (pull_request) Successful in 6m43s

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-20 17:36:21 +03:00
parent c214535218
commit 196ea26e72
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -19,7 +19,7 @@ jobs:
- name: Update Contributors
run: |
./bin/just contributors
if [ -n "$(git status --porcelain)" ]; then
if git diff --name-only | grep -q "^CONTRIBUTORS.md$"; then
git config user.name forgejo-actions
git config user.email forgejo-actions@noreply.localhost
git add CONTRIBUTORS.md