diff --git a/.github/workflows/comment-commands.yml b/.github/workflows/comment-commands.yml index ca6ca358..dd5c8c29 100644 --- a/.github/workflows/comment-commands.yml +++ b/.github/workflows/comment-commands.yml @@ -11,13 +11,13 @@ permissions: jobs: issue_assign: runs-on: ubuntu-22.04 - if: (!github.event.issue.pull_request) && github.event.comment.body == 'bora!' + if: (!github.event.issue.pull_request) && (github.event.comment.body == 'bora!' || github.event.comment.body == 'Bora!' || github.event.comment.body == 'bora' || github.event.comment.body == 'bora!') concurrency: group: ${{ github.actor }}-issue-assign steps: - run: | echo "Issue ${{ github.event.issue.number }} atribuida a ${{ github.event.comment.user.login }}" - echo "Verifique [o guia de contribuição](https://github.com/brazilian-utils/brutils-python/blob/main/CONTRIBUTING.md) para mais informações sobre como submeter sua Pull Request." + echo "Verifique o guia de contribuição para mais informações sobre como submeter sua Pull Request: https://github.com/brazilian-utils/brutils-python/blob/main/CONTRIBUTING.md" curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"assignees": ["${{ github.event.comment.user.login }}"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees - name: Create or Update Comment @@ -25,5 +25,6 @@ jobs: with: issue-number: ${{ github.event.issue.number }} body: | - Issue ${{ github.event.issue.number }} atribuida a ${{ github.event.comment.user.login }} :rocket:" - "Verifique [o guia de contribuição](https://github.com/brazilian-utils/brutils-python/blob/main/CONTRIBUTING.md) para mais informações sobre como submeter sua Pull Request." + Issue ${{ github.event.issue.number }} atribuida a ${{ github.event.comment.user.login }} :rocket: + + Verifique [o guia de contribuição](https://github.com/brazilian-utils/brutils-python/blob/main/CONTRIBUTING.md) para mais informações sobre como submeter sua Pull Request. diff --git a/CONTRIBUTING_EN.md b/CONTRIBUTING_EN.md index 18ed1000..ab6f1410 100644 --- a/CONTRIBUTING_EN.md +++ b/CONTRIBUTING_EN.md @@ -32,7 +32,7 @@ Ensure you have a [GitHub account][github-join] and you are logged in. Visit the [brutils issues page][brutils-issues] and find an issue that interests you and hasn't been assigned yet. -Leave a comment in the issue with "bora!". A bot will assign the issue to you. Once assigned, proceed to the next step. +Leave a comment in the issue with "bora!" (in Brazilian Portuguese, that means "let's go!"). A bot will assign the issue to you. Once assigned, proceed to the next step. Feel free to ask any questions in the issue's page before or during the development process.