diff --git a/community/contribute/01-contribute.md b/community/contribute/01-contribute.md index e3c79a4b28..870d50459f 100644 --- a/community/contribute/01-contribute.md +++ b/community/contribute/01-contribute.md @@ -74,7 +74,7 @@ You can also use `./gradlew check` in the terminal to check the code style of al This configuration is not mandatory. You may enable GitHub Actions workflows in the Fork repository to promptly observe if new commits introduce compilation errors and reduce the waiting time for CI results after submitting a PR. -To do this, simply set `Workflow Permissions` to `Read and write permissions` at the following location: +First, set the `Workflow Permissions` to `Read and write permissions` at the following location: ``` Your Forked Repository -> Settings -> Actions -> General -> Workflow Permissions @@ -82,6 +82,10 @@ Your Forked Repository -> Settings -> Actions -> General -> Workflow Permissions ![](../../static/images/contribute/grant-workflow-permissions.png) +Next, enable workflows on the `Actions` page of your forked repository: + +![](../../static/images/contribute/enable-forked-workflows.jpg) + ### Workflow Here are the workflow for contributors: diff --git a/i18n/zh/docusaurus-plugin-content-docs-community/current/contribute/01-contribute.md b/i18n/zh/docusaurus-plugin-content-docs-community/current/contribute/01-contribute.md index 3953c270d0..5eb02ab84a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs-community/current/contribute/01-contribute.md +++ b/i18n/zh/docusaurus-plugin-content-docs-community/current/contribute/01-contribute.md @@ -75,7 +75,7 @@ Settings -> Tools -> Checkstyle -> Configuration File 此配置不是必须的。您可以在 Fork 仓库中开启 GitHub Actions 工作流,来及时观察新的 commit 是否会引入编译错误,并减少在提交 PR 后等待 CI 运行结果的时间。 -在以下位置将`Workflow Permissions`设置为`Read and write permissions`即可: +首先,在以下位置将`Workflow Permissions`设置为`Read and write permissions`: ``` Your Forked Repository -> Settings -> Actions -> General -> Workflow Permissions @@ -83,6 +83,10 @@ Your Forked Repository -> Settings -> Actions -> General -> Workflow Permissions ![](../../../../../static/images/contribute/grant-workflow-permissions.png) +然后,在 Fork 仓库的`Actions`页面启用 Workflow 即可: + +![](../../../../../static/images/contribute/enable-forked-workflows.jpg) + ### 工作流程 以下是贡献者的工作流程: