Skip to content

Commit

Permalink
Merge pull request #1903 from vvbandeira/gha-fix-rules
Browse files Browse the repository at this point in the history
gha: change command order
  • Loading branch information
vvbandeira authored Apr 2, 2024
2 parents 7d15ade + 7814f34 commit 61efd5d
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 61efd5d

Please sign in to comment.