Skip to content

Commit

Permalink
add images to the text
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Mar 11, 2024
1 parent 4518407 commit 4b16a83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion community/contribute/01-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,18 @@ 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
```

![](../../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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,18 @@ 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
```

![](../../../../../static/images/contribute/grant-workflow-permissions.png)

然后,在 Fork 仓库的`Actions`页面启用 Workflow 即可:

![](../../../../../static/images/contribute/enable-forked-workflows.jpg)

### 工作流程

以下是贡献者的工作流程:
Expand Down

0 comments on commit 4b16a83

Please sign in to comment.