Skip to content

Commit 7814f34

Browse files
committed
gha: change command order
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 7d15ade commit 7814f34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ 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"
4341
git add .
4442
git commit -m "flow: update rules based on new golden reference"
43+
echo "has_update=$(git --no-pager diff --name-only origin/master..HEAD)" >> "$GITHUB_OUTPUT"
4544
- if: "steps.remote-update.outputs.has_update != ''"
4645
name: Create Draft PR
4746
uses: peter-evans/create-pull-request@v5

0 commit comments

Comments
 (0)