diff --git a/.github/workflows/issue-action.yml b/.github/workflows/issue-action.yml index 2b64c3d2..bfcb10d0 100644 --- a/.github/workflows/issue-action.yml +++ b/.github/workflows/issue-action.yml @@ -20,14 +20,18 @@ jobs: token: ${{ steps.generate_token.outputs.token }} filter-threshold: 0.5 title-excludes: '' - comment-title: '### Your issue looks similar to these issues:.\n\nPlease close if duplicate.' + comment-title: | + ### Your issue looks similar to these issues: + Please close if duplicate. comment-body: '${index}. ${similarity} #${number}' - uses: actions/checkout@v2 - name: Automatically close issues that dont follow the issue template uses: lucasbento/auto-close-issues@v1.0.2 with: github-token: ${{ steps.generate_token.outputs.token }} - issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." + issue-close-message: | + @${issue.user.login}: hello! :wave: + This issue is being automatically closed because it does not follow the issue template." closed-issues-label: "invalid" - name: Check if issue mentions a provider id: provider_check