Skip to content

Commit

Permalink
chore(gh-action): disable pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Feb 9, 2024
1 parent 731f8ef commit bcaa121
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/publish_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Find a PR comment
uses: peter-evans/find-comment@v2
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: 'Artifacts deployed: '
- name: Delete Comment
uses: actions/github-script@v6
continue-on-error: true
if: steps.fc.outputs.comment-id != 0
with:
script: |
github.rest.issues.deleteComment({
comment_id: ${{ steps.fc.outputs.comment-id }},
owner: context.repo.owner,
repo: context.repo.repo,
})
- uses: actions/checkout@v3

- name: Install node
Expand All @@ -45,10 +27,3 @@ jobs:
with:
name: build-artifacts
path: build/

- name: Update the PR comment
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Artifacts deployed: ${{ steps.artifact-upload-step.outputs.artifact-url }}

0 comments on commit bcaa121

Please sign in to comment.