We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ddf29b commit e1be25bCopy full SHA for e1be25b
.github/workflows/clang-format-checker.yml
@@ -13,9 +13,16 @@ jobs:
13
pull-requests: write
14
steps:
15
- name: Fetch LLVM sources
16
- uses: actions/checkout@v4
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
with:
18
- fetch-depth: 2
+ 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
26
27
- name: Get changed files
28
id: changed-files
0 commit comments