From d55ecad2f7baa144fb265985dae4e5ca7e7b2fab Mon Sep 17 00:00:00 2001 From: Alexandre Pires Date: Sun, 29 Sep 2024 18:36:34 +0200 Subject: [PATCH] Refactor file path in actions-validate.yml and remove unnecessary code --- .github/actions/setup-env/action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index f46f585..f500462 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -14,11 +14,6 @@ runs: run: | # Get the list of changed files CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }}) - if [ -z "$CHANGED_FILES" ]; then - echo "No files changed in this pull request" - else - echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV - fi - name: Setup Sectool uses: a13labs/setup-sectool@v1