diff --git a/.github/workflows/issue-cmds.yml b/.github/workflows/issue-cmds.yml index 5fa3a18c2..aae8b3a6e 100644 --- a/.github/workflows/issue-cmds.yml +++ b/.github/workflows/issue-cmds.yml @@ -23,24 +23,25 @@ jobs: github_token: ${{ secrets.github_token }} assignees: ${{ github.actor }} - help: - name: /help + contributing-agreement: + name: /contributing-agreement runs-on: ubuntu-latest - if: startsWith(github.event.comment.body, '/help') + if: startsWith(github.event.comment.body, '/contributing-agreement') steps: - uses: xt0rted/slash-command-action@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - command: help + command: contributing-agreement reaction: "true" reaction-type: "rocket" + permission-level: read - uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ github.event.issue.number }} body: | - Get help or engage by: + Contributing Agreements: - - `/help` : to print help messages. - - `/assignme` : to assign this issue to you. + - [pull request](https://github.com/xline-kv/Xline/blob/master/CONTRIBUTING.md#pull-requests) + - [merge policy](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#rebase-and-merge-your-commits) diff --git a/.github/workflows/issue-welcome.yml b/.github/workflows/issue-welcome.yml index e7edfd50f..3f1ea2b6a 100644 --- a/.github/workflows/issue-welcome.yml +++ b/.github/workflows/issue-welcome.yml @@ -17,5 +17,5 @@ jobs: Reply with the following command on its own line to get help or engage: - - `/help` : to print help messages. + - `/contributing-agreement` : to print Contributing Agreements. - `/assignme` : to assign this issue to you.