Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
YannicEl committed Aug 4, 2023
1 parent e17ef9e commit 07dc0e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/pr_comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ runs:
run: |
gh pr comment ${{github.event.number}} \
--repo ${{github.repository}} \
${{ inputs.is_file == true && '--body-file' || '--body' }} '${{ inputs.body }}' \
${{ inputs.is_file == 'true' && '--body-file' || '--body' }} '${{ inputs.body }}' \
--edit-last
env:
GH_TOKEN: ${{ github.token }}

- name: Add new comment
if: steps.update.outcome != 'success' || inputs.update_comment == false
if: steps.update.outcome != 'success' || inputs.update_comment == 'false'
shell: bash
run: |
gh pr comment ${{github.event.number}} \
--repo ${{github.repository}} \
${{ inputs.is_file == true && '--body-file' || '--body' }} '${{ inputs.body }}'
${{ inputs.is_file == 'true' && '--body-file' || '--body' }} '${{ inputs.body }}'
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 07dc0e9

Please sign in to comment.