Skip to content

Commit

Permalink
Disabling the automated PR comment, see #677
Browse files Browse the repository at this point in the history
  • Loading branch information
asamalik authored Jan 4, 2022
1 parent 686b811 commit 1e24a69
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/config-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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\`\`\``
# })

0 comments on commit 1e24a69

Please sign in to comment.