Skip to content

Commit

Permalink
[GHA] Use action_path in default smart ci config path (openvinotoolki…
Browse files Browse the repository at this point in the history
…t#27287)

For easier usage in 3rd-party repos

Signed-off-by: Alina Kladieva <[email protected]>
  • Loading branch information
akladiev authored Oct 28, 2024
1 parent 65313fc commit c158480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/smart-ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ inputs:
components_config_schema:
description: "Path to the schema file for components configuration"
required: false
default: ".github/actions/smart-ci/components_schema.yml"
labeler_config:
description: "Path to labeler configuration file"
required: false
Expand Down Expand Up @@ -101,11 +100,12 @@ runs:
-f "${{ inputs.ref_name }}" \
-p "${{ inputs.component_pattern }}" \
-c "${{ inputs.components_config }}" \
-m "${{ inputs.components_config_schema }}" \
-m "${{ inputs.components_config_schema || env.DEFAULT_CONFIG_SCHEMA }}" \
-l "${{ inputs.labeler_config }}" \
--enable_for_org "${{ inputs.enable_for_org }}" \
--skip-when-only-listed-labels-set "${{ inputs.skip_when_only_listed_labels_set }}" \
--skip-when-only-listed-files-changed "${{ inputs.skip_when_only_listed_files_changed }}"
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.repo_token }}
DEFAULT_CONFIG_SCHEMA: "${{ github.action_path }}/components_schema.yml"

0 comments on commit c158480

Please sign in to comment.