Skip to content

Commit 49bf026

Browse files
committed
Use committer email to avoid infinite loop
1 parent 4b902d8 commit 49bf026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
git commit -m "Update report.json, rec-track-repos.json, hr-repos.json"
3636
git show
3737
- name: Push changes
38-
if: github.ref == 'refs/heads/master' && github.actor != 'dontcallmedom-bot'
38+
if: github.ref == 'refs/heads/master' && github.event.commits[0].author.name != 'w3c-validate-repos-bot'
3939
run: |
4040
git remote set-url --push origin https://x-access-token:${{ secrets.W3C_GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
4141
git push origin HEAD:master

0 commit comments

Comments
 (0)