Skip to content

Commit fd4cdc0

Browse files
committed
check for changes
Signed-off-by: habibayassin <[email protected]>
1 parent 7690f7a commit fd4cdc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-actions-update-rules.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
run: |
3939
git config --local user.email "github-actions[bot]@users.noreply.github.com"
4040
git config --local user.name "github-actions[bot]"
41-
echo $(git --no-pager diff --name-only origin/master..HEAD)
42-
echo "has_update=$(git --no-pager diff --name-only origin/master..HEAD)" >> "$GITHUB_OUTPUT"
41+
echo $(git status --porcelain)
42+
echo "has_update=$(git status --porcelain)" >> "$GITHUB_OUTPUT"
4343
git add .
4444
git commit -m "flow: update rules based on new golden reference"
4545
- if: "steps.remote-update.outputs.has_update != ''"

0 commit comments

Comments
 (0)