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 9fabd0e commit 98b1940
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/actions/pr_comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,8 @@ inputs:
runs:
using: 'composite'
steps:
- name: echo 1
run: echo ${{ inputs.body }}
shell: bash

- name: echo 2
run: echo ${{ inputs.is_file }}
shell: bash

- name: echo 3
run: echo ${{ inputs.update_comment }}
shell: bash

- name: echo 4
run: echo ${{ inputs.is_file == 'true' }}
shell: bash

- name: echo 5
run: echo ${{ inputs.is_file == 'false' }}
shell: bash

- name: Try update comment
if: inputs.update_comment == true
if: inputs.update_comment == 'true'
id: update
continue-on-error: true
shell: bash
Expand All @@ -48,7 +28,7 @@ runs:
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}} \
Expand Down

0 comments on commit 98b1940

Please sign in to comment.