ci(ci.yml): prevent infinite loop (#1537)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-28 18:36:56 -05:00
1 parent 715ec0c746
commit 80d14a3c7b
1 file changed
+2
+2
View File
@@ -16,6 +16,8 @@ jobs:
# added or changed files to the repository.
contents: write
# Prevent infinite loops by checking if the last commit was autogenerated.
if: ${{ github.event.commits[0].author.name != 'github-actions[bot]' }}
steps:
- uses: actions/checkout@v4
if: env.HAS_USERSTYLES_TOKEN