Skip to content

Commit 62894f9

Browse files
authored
ci: pin 3rd party actions (#77)
* ci: pin all 3rd party actions to commit-hash * ci: align 3rd party actions comment syntax
1 parent 3c5feba commit 62894f9

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/codeql-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
# https://github.com/swiftlang/swift/releases
46-
swift: ["6.0.2"]
46+
swift: [ "6.0.2" ]
4747
# https://developer.apple.com/documentation/xcode-release-notes
48-
xcode: ["16.2"]
49-
language: [swift]
50-
build-mode: [manual]
48+
xcode: [ "16.2" ]
49+
language: [ swift ]
50+
build-mode: [ manual ]
5151
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
5252
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
5353
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how

.github/workflows/mobsf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737

3838
# Sets up the reviewdog cli
3939
- name: Setup reviewdog
40-
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887
40+
uses: reviewdog/action-setup@e04ffabe3898a0af8d0fb1af00c188831c4b5893 # v1.3.2
4141

4242
- name: Show reviewdog version
4343
run: reviewdog -version
4444

4545
# Performs analysis using MobSF and outputs a Sarif Report
4646
- name: Run mobsfscan
47-
uses: MobSF/mobsfscan@3d87bc570c4614d705547bddb521395663dba353
47+
uses: MobSF/mobsfscan@3d87bc570c4614d705547bddb521395663dba353 # 0.4.5
4848
with:
4949
args: . --sarif --output mobsf.sarif.json || true
5050

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
steps:
6868
- id: release
6969
name: Run prerelease release-please
70-
uses: googleapis/[email protected]
70+
uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4.2.0
7171
with:
7272
config-file: ".github/prerelease-config.json"
7373
manifest-file: ".github/prerelease-manifest.json"
@@ -114,7 +114,7 @@ jobs:
114114
echo "Running pre-release step!"
115115
116116
- name: Run release release-please
117-
uses: googleapis/[email protected]
117+
uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4.2.0
118118
with:
119119
config-file: ".github/release-config.json"
120120
manifest-file: ".github/release-manifest.json"

.github/workflows/swiftlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
# Sets up the reviewdog cli
2828
- name: Setup reviewdog
29-
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887
29+
uses: reviewdog/action-setup@e04ffabe3898a0af8d0fb1af00c188831c4b5893 # v1.3.2
3030

3131
- name: Show reviewdog version
3232
run: reviewdog -version
@@ -37,7 +37,7 @@ jobs:
3737

3838
# Performs analysis using Swift Lint and outputs a Sarif Report
3939
- name: GitHub Action for SwiftLint
40-
uses: stanfordbdhg/[email protected]
40+
uses: stanfordbdhg/action-swiftlint@f6ee119765c4b81b667fa84b1e9ee77ca864f622 # v4.1.1
4141
with:
4242
args: --reporter sarif --output lint-results-debug.sarif
4343
# https://github.com/realm/SwiftLint/issues/4048

0 commit comments

Comments
 (0)