Skip to content

Commit fdf4835

Browse files
committed
Pin github workflows to a commit hash instead of version tag for security purpose
1 parent 2d31ed4 commit fdf4835

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/CI.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
3838
shell: "/bin/zsh {0}"
3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4141
- name: ${{ matrix.name }}
4242
run: make test_framework_GRDBOSX_maxSwift
4343
iOS:
@@ -53,7 +53,7 @@ jobs:
5353
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
5454
shell: "/bin/zsh {0}"
5555
steps:
56-
- uses: actions/checkout@v3
56+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
5757
- name: ${{ matrix.name }}
5858
run: make test_framework_GRDBiOS_maxTarget_maxSwift
5959
SPM:
@@ -69,7 +69,7 @@ jobs:
6969
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
7070
shell: "/bin/zsh {0}"
7171
steps:
72-
- uses: actions/checkout@v3
72+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
7373
- name: ${{ matrix.name }}
7474
run: make test_SPM test_install_SPM
7575
SQLCipher3:
@@ -85,7 +85,7 @@ jobs:
8585
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
8686
shell: "/bin/zsh {0}"
8787
steps:
88-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
8989
- name: ${{ matrix.name }}
9090
run: make test_framework_SQLCipher3Encrypted
9191
SQLCipher4:
@@ -101,7 +101,7 @@ jobs:
101101
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
102102
shell: "/bin/zsh {0}"
103103
steps:
104-
- uses: actions/checkout@v3
104+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
105105
- name: ${{ matrix.name }}
106106
run: make test_framework_SQLCipher4Encrypted
107107
CustomSQLite:
@@ -117,7 +117,7 @@ jobs:
117117
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
118118
shell: "/bin/zsh {0}"
119119
steps:
120-
- uses: actions/checkout@v3
120+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
121121
- name: ${{ matrix.name }}
122122
run: make test_framework_GRDBCustomSQLiteOSX
123123
XCFramework:
@@ -133,7 +133,7 @@ jobs:
133133
name: "macOS 12, Xcode 14.0.1, Swift 5.7"
134134
shell: "/bin/zsh {0}"
135135
steps:
136-
- uses: actions/checkout@v3
136+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
137137
- name: ${{ matrix.name }}
138138
run: make test_archive_GRDBOSX_xcframework
139139

0 commit comments

Comments
 (0)