fix: split base file content on newline only when applying hunks #224
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Split Score | |
| on: | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| score: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: pr-split score | |
| uses: vitali87/pr-split@v1.0.0 | |
| with: | |
| max-loc: "400" | |
| partition-strategy: "graph" | |
| threshold-groups: "2" |