Skip to content

Commit

Permalink
broken tj action
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jan 23, 2024
1 parent 8a65e1e commit f7274b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ runs:
uses: tj-actions/branch-names@v8

# Find the pull request number
# steps.branch-name.outputs.is_default == 'false' is to ensure that type is a pull request
- id: find-pull-request
if: ${{inputs.destroy != 'true' && steps.branch-name.outputs.is_default == 'false' && github.event_name == 'pull_request'}}
if: ${{inputs.destroy != 'true' && github.event_name == 'pull_request'}}
uses: jwalton/gh-find-current-pr@v1
with:
state: open
Expand Down Expand Up @@ -100,7 +99,7 @@ runs:
# Prepare comment on PR if it is a pull req
- name: Prepare comment on PR if it is a pull req
if: ${{inputs.pr_comment == 'true' && steps.branch-name.outputs.is_default == 'false' && steps.branch-name.outputs.base_ref_branch != ''}}
if: ${{inputs.pr_comment == 'true' && github.event_name == 'pull_request' && steps.branch-name.outputs.base_ref_branch != ''}}
shell: bash
run: |
response=$(curl -sLk \
Expand Down

0 comments on commit f7274b3

Please sign in to comment.