Skip to content

Commit

Permalink
gha: change command order
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <[email protected]>
  • Loading branch information
Vitor Bandeira committed Apr 2, 2024
1 parent 7d15ade commit 7814f34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/github-actions-update-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
echo $(git --no-pager diff --name-only origin/master..HEAD)
echo "has_update=$(git --no-pager diff --name-only origin/master..HEAD)" >> "$GITHUB_OUTPUT"
git add .
git commit -m "flow: update rules based on new golden reference"
echo "has_update=$(git --no-pager diff --name-only origin/master..HEAD)" >> "$GITHUB_OUTPUT"
- if: "steps.remote-update.outputs.has_update != ''"
name: Create Draft PR
uses: peter-evans/create-pull-request@v5
Expand Down

0 comments on commit 7814f34

Please sign in to comment.