Skip to content

Commit 5f6c5da

Browse files
committed
Merge branch 'mdevolde-ci/pin-actions-versions'
2 parents e22ead8 + d2e8512 commit 5f6c5da

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: Checkout Code
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1818
with:
1919
submodules: recursive
2020

2121
- name: Set up JDK 17
22-
uses: actions/setup-java@v5
22+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
2323
with:
2424
java-version: '17'
2525
distribution: 'temurin'
@@ -48,7 +48,7 @@ jobs:
4848
run: ./gradlew lintStbetaRelease
4949

5050
- name: Upload Lint Report
51-
uses: actions/upload-artifact@v7
51+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5252
if: always()
5353
with:
5454
name: lint-report
@@ -61,7 +61,7 @@ jobs:
6161
- name: VirusTotal Scan
6262
if: ${{ env.HAS_VT_KEY == 'true' }}
6363
id: vt
64-
uses: crazy-max/ghaction-virustotal@v5
64+
uses: crazy-max/ghaction-virustotal@936d8c5c00afe97d3d9a1af26d017cfdf26800a2 # v5.0.0
6565
with:
6666
vt_api_key: ${{ secrets.VIRUS_TOTAL_API_KEY }}
6767
files: |
@@ -90,28 +90,28 @@ jobs:
9090
done
9191
9292
- name: Upload ARM64 APK
93-
uses: actions/upload-artifact@v7
93+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9494
with:
9595
name: SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_arm64
9696
path: ./smarttubetv/build/outputs/apk/stbeta/release/*_arm64-v8a.apk
9797
if-no-files-found: error
9898

9999
- name: Upload ARMv7 APK
100-
uses: actions/upload-artifact@v7
100+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
101101
with:
102102
name: SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_armeabi-v7a
103103
path: ./smarttubetv/build/outputs/apk/stbeta/release/*_armeabi-v7a.apk
104104
if-no-files-found: error
105105

106106
- name: Upload Universal APK
107-
uses: actions/upload-artifact@v7
107+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
108108
with:
109109
name: SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_universal
110110
path: ./smarttubetv/build/outputs/apk/stbeta/release/*_universal.apk
111111
if-no-files-found: error
112112

113113
- name: Upload x86 APK
114-
uses: actions/upload-artifact@v7
114+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
115115
with:
116116
name: SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_x86
117117
path: ./smarttubetv/build/outputs/apk/stbeta/release/*_x86.apk

.github/workflows/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
actions: write
1414
steps:
15-
- uses: actions/github-script@v8
15+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
1616
with:
1717
script: |
1818
const KEEP = 0;

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
actions: write
1313
issues: write
1414
steps:
15-
- uses: actions/stale@v10
15+
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
1616
with:
1717
repo-token: ${{ secrets.GITHUB_TOKEN }}
1818
operations-per-run: 3000 # This may result in rate limiting, could we reduce and run in batches?

.github/workflows/virustotal_scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo -e "MARKER=\t\t\t" >> $GITHUB_ENV
3232
3333
- name: Checkout code
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3535

3636
- name: Download Release Assets
3737
env:
@@ -43,7 +43,7 @@ jobs:
4343
- name: VirusTotal Scan
4444
if: ${{ env.HAS_VT_KEY == 'true' }}
4545
id: vt
46-
uses: crazy-max/ghaction-virustotal@v5
46+
uses: crazy-max/ghaction-virustotal@936d8c5c00afe97d3d9a1af26d017cfdf26800a2 # v5.0.0
4747
with:
4848
vt_api_key: ${{ secrets.VIRUS_TOTAL_API_KEY }}
4949
files: |

0 commit comments

Comments
 (0)