From 60e48872d3c3d183ea8796c303ab17a6de1d7cb7 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Thu, 13 Oct 2022 23:57:34 +0200 Subject: [PATCH] revert: use sha but with fetch depth 0 --- .github/workflows/renovate-app-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate-app-version.yml b/.github/workflows/renovate-app-version.yml index ef71a412..bbfc825f 100644 --- a/.github/workflows/renovate-app-version.yml +++ b/.github/workflows/renovate-app-version.yml @@ -21,7 +21,7 @@ jobs: - name: Get list of updated files by the last commit in this branch separated by space id: updated-files run: | - echo "::set-output name=files::$(git diff-tree --no-commit-id --name-only -r HEAD~1 HEAD | tr '\n' ' ')" + echo "::set-output name=files::$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | tr '\n' ' ')" - name: Run renovate-app-version.sh on updated files run: |