Skip to content

Commit cbb558f

Browse files
authored
Use consistent actions/checkout version like in other workflow files (#555)
1 parent 4ced38b commit cbb558f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/build-opencl-clang/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ runs:
2929
shell: bash
3030
3131
- name: Checkout LLVM
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
3333
with:
3434
repository: llvm/llvm-project
3535
path: llvm-project
3636
ref: ${{ inputs.ref_llvm }}
3737

3838
- name: Checkout SPIRV-LLVM-Translator
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
4040
with:
4141
repository: KhronosGroup/SPIRV-LLVM-Translator
4242
path: llvm-project/SPIRV-LLVM-Translator
4343
ref: ${{ inputs.ref_translator }}
4444

4545
- name: Checkout opencl-clang
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
4747
with:
4848
path: llvm-project/opencl-clang
4949
ref: ${{ inputs.ref_opencl-clang }}

.github/workflows/patch-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
branches_json: ${{steps.release_branches.outputs.branches_json}}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2121
with:
2222
fetch-depth: 0
2323
- name: Get latest llvm_release branch
@@ -49,7 +49,7 @@ jobs:
4949
matrix: ${{fromJson(needs.setup.outputs.branches_json)}}
5050
steps:
5151
- name: Checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
5353
with:
5454
ref: ${{ matrix.branch }}
5555
fetch-depth: 0

0 commit comments

Comments
 (0)