Skip to content

Commit

Permalink
use master instead of main
Browse files Browse the repository at this point in the history
  • Loading branch information
apolyakov committed Feb 4, 2025
1 parent 537ef7f commit eb3f522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run clang-format on changed files
run: |
# Get list of changed files
CHANGED_FILES=$(git diff --name-only --diff-filter=ACM origin/main...HEAD | grep -E '^(runtime-light|runtime-common)/.*\.(cpp|h|inl)$')
CHANGED_FILES=$(git diff --name-only --diff-filter=ACM origin/master...HEAD | grep -E '^(runtime-light|runtime-common)/.*\.(cpp|h|inl)$')
# Apply clang-format to each changed file
echo "$CHANGED_FILES" | xargs -r clang-format-18 -style=file -i
Expand Down

0 comments on commit eb3f522

Please sign in to comment.