Skip to content

Commit

Permalink
[NOID] Solves bug where bot cannot update the format / license comment (
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon authored Dec 5, 2023
1 parent 5ab41af commit e9cd167
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/gradle-command-on-pr/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ runs:
if: ${{ success() && steps.git-check.outputs.modified == 'true' }}
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ inputs.SERVICE_ACCOUNT_PAT }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: hooray
Expand All @@ -67,6 +68,7 @@ runs:
if: ${{ success() && steps.git-check.outputs.modified == 'false' }}
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ inputs.SERVICE_ACCOUNT_PAT }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: '+1'
Expand All @@ -81,6 +83,7 @@ runs:
if: ${{ !success() }}
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ inputs.SERVICE_ACCOUNT_PAT }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
issue-number: ${{ github.event.client_payload.github.payload.issue.number }}
body: |
Expand All @@ -92,6 +95,7 @@ runs:
if: ${{ !success() }}
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ inputs.SERVICE_ACCOUNT_PAT }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: '-1'
Expand Down

0 comments on commit e9cd167

Please sign in to comment.