Skip to content

Commit

Permalink
fix: continue-on-error for composite actions (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
nepalevov authored Jan 31, 2024
1 parent cbd2a33 commit 9115bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions actions/gradle_checkstyle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs:
bypass_checks:
description: "Do not fail pipeline if checks failed"
required: false
default: false
default: "false"

runs:
using: "composite"
Expand All @@ -27,7 +27,7 @@ runs:
java_distribution: ${{ inputs.java_distribution }}
cache_path: ${{ inputs.cache_path }}
- name: Codestyle
continue-on-error: ${{ inputs.bypass_check }}
continue-on-error: ${{ fromJSON(inputs.bypass_checks) }}
shell: bash
run: |
./gradlew checkstyleMain
4 changes: 2 additions & 2 deletions actions/ort/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs:
bypass_checks:
description: "Do not fail pipeline if checks failed"
required: false
default: false
default: "false"

runs:
using: "composite"
Expand All @@ -31,7 +31,7 @@ runs:
- name: Run GitHub Action for ORT
id: ort_scan
uses: oss-review-toolkit/ort-ci-github-action@b6d71a83acba8619f16b30c008f212a7a572f8e8 # v1
continue-on-error: ${{ inputs.bypass_checks }}
continue-on-error: ${{ fromJSON(inputs.bypass_checks) }}
with:
allow-dynamic-versions: ${{ inputs.allow_dynamic_versions }}
fail-on: ${{ inputs.fail_on }}
Expand Down

0 comments on commit 9115bca

Please sign in to comment.