fix: Change the way checking if the file changed #26
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Update Contributors
|
- name: Update Contributors
|
||||||
run: |
|
run: |
|
||||||
./bin/just contributors
|
./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.name forgejo-actions
|
||||||
git config user.email forgejo-actions@noreply.localhost
|
git config user.email forgejo-actions@noreply.localhost
|
||||||
git add CONTRIBUTORS.md
|
git add CONTRIBUTORS.md
|
||||||
|
|
Loading…
Reference in a new issue