Skip to content

Commit

Permalink
Refactor quality assurance workflow to improve code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: James Bradlee <james.bradlee@telenor.no>
  • Loading branch information
testersen committed Apr 1, 2024
1 parent f771031 commit 923ad06
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/quality-assurance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
- run: |
if [[ "${{ github.event_name }}" == "push" ]]; then
elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
gh pr diff --name-only --color never ${{ github.event.number }} \
| grep -E "\.kts?$" \
| ktlint --relative --patterns-from-stdin=''
gh pr diff --name-only --color never ${{ github.event.number }} | grep -E "\.kts?$" | ktlint --relative --patterns-from-stdin=''
fi
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 923ad06

Please sign in to comment.