Skip to content

Commit

Permalink
Remove issue comment part
Browse files Browse the repository at this point in the history
  • Loading branch information
aahung committed Feb 9, 2023
1 parent 781b887 commit f2bae6b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/check_interface_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Check interface compatibility
on:
pull_request:

permissions:
pull-requests: write

jobs:
check-interface-compatibility:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -59,21 +56,6 @@ jobs:
# and saving it into a file can avoid the need of escaping in github-script.
echo "$output" > "${{ runner.temp }}"/output.md
- name: Post GitHub PR comment
if: ${{ steps.detect.outputs.change_detected }}
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const fs = require('fs');
const output = fs.readFileSync('${{ runner.temp }}/output.md', 'utf8')
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})
- name: Show detection output
if: ${{ steps.detect.outputs.change_detected }}
run: |
Expand Down

0 comments on commit f2bae6b

Please sign in to comment.