Skip to content

Commit

Permalink
Remove redundant steps for getting changed files
Browse files Browse the repository at this point in the history
Signed-off-by: Vyom-Yadav <[email protected]>
  • Loading branch information
Vyom-Yadav committed Jan 5, 2025
1 parent e8d1d5a commit cc3bf07
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/krel-release-notes-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cc3bf07

Please sign in to comment.