Skip to content

Commit dab9fda

Browse files
use gh provided CI variable instead parameter
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent c815d92 commit dab9fda

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
YQ_CLI: ./yq
4646
run: mkdir -p .cache && bash .ci/cache_version_tags.sh
4747
- name: Check if VERSION and version tags match release tag
48-
run: bash check_version.sh ${{ github.ref_name }} true
48+
run: bash check_version.sh ${{ github.ref_name }}
4949
k8s-1-26-integration-test:
5050
needs: version-check
5151
runs-on: ubuntu-latest

check_version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ CACHED_BUNDLE_NAME_TAG=${CACHED_BUNDLE_NAME_TAG:-'.cache/bundle_name_tag.txt'}
2424
CACHED_MANAGER_IMAGE_TAG=${CACHED_MANAGER_IMAGE_TAG:-'.cache/manager_image_tag.txt'}
2525

2626
ref_name=$1
27-
is_ci=${2:-"false"}
2827
failed="false"
2928

3029
if [ -z ${ref_name} ]
@@ -33,7 +32,7 @@ then
3332
exit 1
3433
fi
3534

36-
if [ ${is_ci} != "true" ]
35+
if [ ${CI} != "true" ]
3736
then
3837
if [ -z $(command -v yq) ] && [ -z $(command -v ${YQ_CLI}) ]
3938
then

0 commit comments

Comments
 (0)