ci: 优化 optimize-templates 在 fork 仓库下的流程 (#13949)

Update optimize-templates.yml
This commit is contained in:
不留
2025-09-03 00:26:13 +08:00
committed by GitHub
parent a1fe1ad099
commit 041c03d9be

View File

@@ -102,7 +102,7 @@ jobs:
fi
- name: Push changes
if: steps.check_push.outputs.is_pr != 'True' && steps.commit_changes.outputs.have_commits == 'True'
if: steps.check_push.outputs.is_pr != 'True' && steps.commit_changes.outputs.have_commits == 'True' && github.repository_owner == 'MaaAssistantArknights'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.MAA_RESOURCE_SYNC }}