Skip to content

Commit 7d15ade

Browse files
authored
gha: updateRule echo diff (#1901)
* echo diff Signed-off-by: habibayassin <[email protected]>
1 parent 85070e7 commit 7d15ade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +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 "::set-output name=has_update::$(git --no-pager diff --name-only origin/master..HEAD)"
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"
4243
git add .
4344
git commit -m "flow: update rules based on new golden reference"
4445
- if: "steps.remote-update.outputs.has_update != ''"

0 commit comments

Comments
 (0)