Skip to content

Commit a50f6c2

Browse files
authored
[chore] Fix variables referenced in github workflow (#1783)
1 parent 091fd2a commit a50f6c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update_chart_dependencies.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
make update-chart-dep CHART_PATH=${{ matrix.yaml_file_path }} SUBCHART_NAME='${{ matrix.dependency_name }}' DEBUG_MODE=$DEBUG_MODE
4545
4646
- name: Check for Operator CRD Updates
47+
id: check_for_crd_update
4748
if: ${{ matrix.name == 'operator' }}
4849
run: |
4950
make update-operator-crds DEBUG_MODE=$DEBUG_MODE
@@ -78,11 +79,11 @@ jobs:
7879
- name: Operator CRDs update
7980
env:
8081
COMPONENT: opentelemetry-operator-crds
81-
if: ${{ steps.check_for_update.outputs.CRDS_NEED_UPDATE == 1 }}
82+
if: ${{ steps.check_for_crd_update.outputs.CRDS_NEED_UPDATE == 1 }}
8283
run: |
8384
make update-operator-crds DEBUG_MODE=$DEBUG_MODE
8485
make render
85-
make chlog-new FILENAME="update-operator-crds" CHANGE_TYPE=enhancement COMPONENT=$COMPONENT NOTE="Bump subchart $COMPONENT to ${{ steps.check_for_update.outputs.CRDS_LATEST_VER }}" ISSUES=[${{ steps.open_pr.outputs.pull-request-number }}]
86+
make chlog-new FILENAME="update-operator-crds" CHANGE_TYPE=enhancement COMPONENT=$COMPONENT NOTE="Bump subchart $COMPONENT to ${{ steps.check_for_crd_update.outputs.CRDS_LATEST_VER }}" ISSUES=[${{ steps.open_pr.outputs.pull-request-number }}]
8687
8788
- name: Finalize PR with updates
8889
if: ${{ steps.check_for_update.outputs.NEED_UPDATE == 1 }}

0 commit comments

Comments
 (0)