Skip to content

Commit e1be25b

Browse files
committed
Testing workflow
1 parent 3ddf29b commit e1be25b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: .github/workflows/clang-format-checker.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ jobs:
1313
pull-requests: write
1414
steps:
1515
- name: Fetch LLVM sources
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717
with:
18-
fetch-depth: 2
18+
ref: ${{ github.event.pull_request.head.sha }}
19+
20+
- name: Checkout through merge base
21+
uses: rmacklin/fetch-through-merge-base@bfe4d03a86f9afa52bc1a70e9814fc92a07f7b75 # v0.3.0
22+
with:
23+
base_ref: ${{ github.event.pull_request.base.ref }}
24+
head_ref: ${{ github.event.pull_request.head.sha }}
25+
deepen_length: 500
1926

2027
- name: Get changed files
2128
id: changed-files

0 commit comments

Comments
 (0)