diff --git a/.github/composite_actions/log_cw_metric_wrapper/action.yaml b/.github/composite_actions/log_cw_metric_wrapper/action.yaml index ab35b07c8b3..0b945303910 100644 --- a/.github/composite_actions/log_cw_metric_wrapper/action.yaml +++ b/.github/composite_actions/log_cw_metric_wrapper/action.yaml @@ -56,7 +56,7 @@ runs: - name: Exit if not scheduled shell: bash run: | - if [ "${{ github.event_name }}" != "schedule" ]; then + if [ "${{ github.event_name }}" == "schedule" ]; then echo "This was not triggered by a schedule, skipping." echo "SKIP_CW=true" >> $GITHUB_ENV fi