From cc3bf07fb38376ea38ddf6259835dc0a33c10c9a Mon Sep 17 00:00:00 2001 From: Vyom-Yadav Date: Sun, 5 Jan 2025 14:13:19 +0530 Subject: [PATCH] Remove redundant steps for getting changed files Signed-off-by: Vyom-Yadav --- .github/workflows/krel-release-notes-validate.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/krel-release-notes-validate.yaml b/.github/workflows/krel-release-notes-validate.yaml index fd8a7f22454..7a3ee0ef571 100644 --- a/.github/workflows/krel-release-notes-validate.yaml +++ b/.github/workflows/krel-release-notes-validate.yaml @@ -78,16 +78,6 @@ jobs: KREL_PATH="$HOME/.local/bin/krel" echo "krel-path=$KREL_PATH" >> "$GITHUB_OUTPUT" echo "Krel installed at: $KREL_PATH" - - name: Get the latest commit from the base branch - id: base_branch_commit - run: | - echo "commit=$(git rev-parse origin/master)" >> $GITHUB_OUTPUT - - name: Get all changed release files - id: changed-files - uses: tj-actions/changed-files@cc733854b1f224978ef800d29e4709d5ee2883e4 # v44.5.5 - with: - base_sha: ${{ steps.base_branch_commit.outputs.commit }} - files: releases/**/*.yaml - name: Run if releases YAML changes exist and validate the YAML id: validate_releases_yaml env: