From 21003f640a3122ad0eeefcfc84e4f16e6480ce44 Mon Sep 17 00:00:00 2001 From: nefrathenrici Date: Tue, 19 Mar 2024 17:14:02 -0700 Subject: [PATCH] remove HEAD~ --- .github/workflows/yaml_format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/yaml_format.yml b/.github/workflows/yaml_format.yml index 68f79a52548..5dee1146983 100644 --- a/.github/workflows/yaml_format.yml +++ b/.github/workflows/yaml_format.yml @@ -24,7 +24,7 @@ jobs: run: yamlfmt config - name: Check for changes after formatting run: | - git diff HEAD~ --exit-code # Check for changes after formatting + git diff --exit-code # Check for changes after formatting id: check_changes - name: Add formatting changes, push if: steps.check_changes.outputs == 0 # Check exit code of previous step (0 means no changes)