Skip to content

Commit 61efd5d

Browse files
authored
Merge pull request #1903 from vvbandeira/gha-fix-rules
gha: change command order
2 parents 7d15ade + 7814f34 commit 61efd5d

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)