ci: harden example-project workflow and drop org secret - #31
Conversation
- switch from pull_request_target to pull_request and remove ORG_CHECKOUT_TOKEN, since smart-doc-maven-plugin and smart-doc-example-cn are public repositories - add explicit contents: read permission and Maven dependency caching - rely on bash pipefail instead of grepping "[ERROR]" in build logs
|
🔍 Before proceeding, please review the contribution guidelines This includes requirements for:
Thanks for your PR. 🙏 In addition, if you have added new features, please provide example code in the repository smart-doc-group/smart-doc-example-cn. This will help other users understand how to use the new features. Code Style Reminder: 🔍 提交前请务必完成以下检查 需特别注意:
感谢您提交的PR。 🙏 另外,如果您添加了新功能,请在仓库smart-doc-group/smart-doc-example-cn中提供示例代码。这将帮助其他用户了解如何使用新功能。 代码风格提示: |
ci: harden example-project workflow and drop org secret
ORG_CHECKOUT_TOKEN, since smart-doc-maven-plugin and
smart-doc-example-cn are public repositories