From e00ec66caa3e311e4845b04a1d27ced67daaa6d8 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Tue, 4 Jan 2022 12:09:02 +0100 Subject: [PATCH] Disabling the automated PR comment, see #677 --- .github/workflows/config-check.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/config-check.yml b/.github/workflows/config-check.yml index 281f79eb..2811ecce 100644 --- a/.github/workflows/config-check.yml +++ b/.github/workflows/config-check.yml @@ -37,14 +37,17 @@ jobs: id: get_configs_output # The output is inserted as a multiline code block into the body of pull request comment - - name: Comment on the PR - uses: actions/github-script@v5 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: `\`\`\`\n${{ steps.get_configs_output.outputs.PR_COMMENT }}\n\`\`\`` - }) + # + # Update: This doesn't work. See https://github.com/minimization/content-resolver-input/issues/677 + # + # - name: Comment on the PR + # uses: actions/github-script@v5 + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + # script: | + # github.rest.issues.createComment({ + # issue_number: context.issue.number, + # owner: context.repo.owner, + # repo: context.repo.repo, + # body: `\`\`\`\n${{ steps.get_configs_output.outputs.PR_COMMENT }}\n\`\`\`` + # })