Skip to content

Commit

Permalink
fix check-patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Mart committed Feb 15, 2024
1 parent 5d15cf0 commit f75341d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/check-patterns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ for pattern in ${BUILDER_2204_PATTERNS[@]}; do
done

run_contrib="0"
if $run_tc || $run_2204; then
if [[ "$run_tc" == "1" ]] || [[ "$run_2204" == "1" ]]; then
run_contrib="1"
else
for pattern in ${CONTRIB_PATTERNS[@]}; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
necessary_jobs=$(./.github/scripts/check-patterns.sh "$ALL_CHANGED_FILES")
read -r run_tc run_2004 run_2204 run_contrib <<< "$output"
read -r run_tc run_2004 run_2204 run_contrib <<< "$necessary_jobs"
echo "run_tc=${run_tc}" >> $GITHUB_OUTPUT
echo "run_2004=${run_2004}" >> $GITHUB_OUTPUT
echo "run_2204=${run_2204}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit f75341d

Please sign in to comment.