diff --git a/.github/workflows/summarize.yml b/.github/workflows/summarize.yml index c167003..6df28ab 100644 --- a/.github/workflows/summarize.yml +++ b/.github/workflows/summarize.yml @@ -35,7 +35,7 @@ jobs: - name: Get Changed Files id: get_files run: | - CHANGED_FILES=$(git diff --name-only origin/main ad763de76c62c43b8be5c65a7425c73f330836bb) + CHANGED_FILES=$(git diff --name-only origin/main ${{ github.sha }}) if [ -z "$CHANGED_FILES" ]; then echo "changed_files=" >> $GITHUB_ENV