@@ -144,27 +144,27 @@ jobs:
144144 jdkVersionFlavour : ${{ steps.binary.outputs.jdkVersionFlavour }}
145145 javafxVersion : ${{ steps.binary.outputs.javafxVersion }}
146146 steps :
147- - uses : actions/checkout@v7
147+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
148148 if : github.event_name == 'pull_request'
149149 with :
150150 fetch-depth : 0
151151 show-progress : ' false'
152152 - id : changed-non-workflow-files
153153 if : github.event_name == 'pull_request'
154- uses : tj-actions/changed-files@v47
154+ uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47
155155 with :
156156 files_ignore : |
157157 .github/workflows/**
158158 **/*.md
159159 - id : changed-binaries-workflow
160160 if : github.event_name == 'pull_request'
161- uses : tj-actions/changed-files@v47
161+ uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47
162162 with :
163163 files : |
164164 .github/workflows/binaries.yml
165165 - id : changed-binaries-resource-markdown
166166 if : github.event_name == 'pull_request'
167- uses : tj-actions/changed-files@v47
167+ uses : tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47
168168 with :
169169 files : |
170170 jabgui/buildres/**/*.md
@@ -518,20 +518,20 @@ jobs:
518518 run : echo "Skipping pre-build because no build-relevant files changed."
519519 - name : Fetch all history for all tags and branches
520520 if : needs.conditions.outputs.should-build == 'true'
521- uses : actions/checkout@v7
521+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
522522 with :
523523 fetch-depth : 0
524524 show-progress : ' false'
525525 - name : Install GitVersion
526526 if : needs.conditions.outputs.should-build == 'true'
527527 id : pre-gitversion
528- uses : gittools/actions/gitversion/setup@v4.7.0
528+ uses : gittools/actions/gitversion/setup@7417b1089e2c7de93510f1901d656ddf60bb024f # v4.7.0
529529 with :
530530 versionSpec : " 6.x"
531531 - name : Run GitVersion
532532 if : needs.conditions.outputs.should-build == 'true'
533533 id : gitversion
534- uses : gittools/actions/gitversion/execute@v4.7.0
534+ uses : gittools/actions/gitversion/execute@7417b1089e2c7de93510f1901d656ddf60bb024f # v4.7.0
535535 - name : Normalize branch name
536536 if : needs.conditions.outputs.should-build == 'true'
537537 id : normalize
@@ -584,7 +584,7 @@ jobs:
584584 run : echo "Skipping binary build because no build-relevant files changed."
585585 - name : Checkout
586586 if : needs.conditions.outputs.should-build == 'true'
587- uses : actions/checkout@v7
587+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
588588 with :
589589 fetch-depth : 1
590590 submodules : ' true'
@@ -601,7 +601,7 @@ jobs:
601601 id : pigz
602602 if : needs.conditions.outputs.should-build == 'true' && startsWith(matrix.os, 'ubuntu')
603603 background : true
604- uses : awalsh128/cache-apt-pkgs-action@v1.6.3
604+ uses : awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9 # v1.6.3
605605 with :
606606 packages : pigz
607607 version : 1.0
@@ -635,7 +635,7 @@ jobs:
635635 # Setup JDK EA and JavaFX EA
636636 - name : Set up latest JDK EA from jdk.java.net
637637 if : ${{ needs.conditions.outputs.should-build == 'true' && needs.conditions.outputs.useEaJdk == 'true' }}
638- uses : oracle-actions/setup-java@v1
638+ uses : oracle-actions/setup-java@ec7274acdd237c7fe61395ed2edda22d756b5afe # v1
639639 with :
640640 website : jdk.java.net
641641 release : EA
@@ -880,7 +880,7 @@ jobs:
880880
881881 - name : Upload jabgui and jabls-cli to GitHub workflow artifacts store for notarization (macOS)
882882 if : ${{ needs.conditions.outputs.should-build == 'true' && (startsWith(matrix.os, 'macos')) && (needs.conditions.outputs.should-notarize == 'true') }}
883- uses : actions/upload-artifact@v7
883+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
884884 with :
885885 # tbn = to-be-notarized
886886 name : JabRef-${{ matrix.os }}-tbn
@@ -903,7 +903,7 @@ jobs:
903903 run : echo "Skipping native binary build because it is not needed for this event."
904904 - name : Checkout
905905 if : needs.conditions.outputs.should-build == 'true'
906- uses : actions/checkout@v7
906+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
907907 with :
908908 fetch-depth : 1
909909 submodules : ' true'
@@ -924,7 +924,7 @@ jobs:
924924 # jdk+fx maps to the Full Liberica package, used here for the AWT/java.desktop path triggered by PDFBox.
925925 - name : Set up Liberica NIK (native-image with AWT support)
926926 if : needs.conditions.outputs.should-build == 'true'
927- uses : graalvm/setup-graalvm@v1
927+ uses : graalvm/setup-graalvm@0426e2e191540e8514dff98dc52a5f5146a2a276 # v1
928928 with :
929929 distribution : ' liberica'
930930 java-package : ${{ matrix.javaPackage }}
@@ -940,7 +940,7 @@ jobs:
940940
941941 - name : Install clitest
942942 if : needs.conditions.outputs.should-build == 'true'
943- uses : ethanjli/cached-download-action@v0.1.4
943+ uses : ethanjli/cached-download-action@f1d109e4eca8d988e012ed5565366717aba90d0f # v0.1.4
944944 with :
945945 # clitest v0.5.0 (https://github.com/aureliojargas/clitest/releases/tag/0.5.0)
946946 url : https://raw.githubusercontent.com/aureliojargas/clitest/8bdaae2f56e524f8824307d5c443e6353fe0dbd9/clitest
@@ -980,15 +980,15 @@ jobs:
980980
981981 - name : Upload jabkit native to GitHub artifacts store
982982 if : ${{ needs.conditions.outputs.should-build == 'true' && (github.event.inputs.upload-as-artifact == 'true') && (!startsWith(matrix.os, 'macos') || needs.conditions.outputs.should-notarize != 'true') }}
983- uses : actions/upload-artifact@v7
983+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
984984 with :
985985 name : jabkit-native (${{ matrix.displayName }})
986986 path : jabkit/build/native-dist/*.*
987987 if-no-files-found : error
988988
989989 - name : Upload jabkit native to GitHub workflow artifacts store for notarization (macOS)
990990 if : ${{ needs.conditions.outputs.should-build == 'true' && (startsWith(matrix.os, 'macos')) && (needs.conditions.outputs.should-notarize == 'true') }}
991- uses : actions/upload-artifact@v7
991+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
992992 with :
993993 # tbn = to-be-notarized
994994 name : jabkit-native-${{ matrix.os }}-tbn
@@ -1020,7 +1020,7 @@ jobs:
10201020 steps :
10211021 - name : Comment PR
10221022 if : ${{ needs.disk-space-check.outputs.available == 'true' }}
1023- uses : thollander/actions-comment-pull-request@v3
1023+ uses : thollander/actions-comment-pull-request@65f9e5c9a1f2cd378bd74b2e057c9736982a8e74 # v3
10241024 with :
10251025 message : |
10261026 The build of this PR is available at <${{ needs.build.outputs.url }}>.
@@ -1040,7 +1040,7 @@ jobs:
10401040 printf 'PR Body:\n%s\n' "$PR_BODY"
10411041 - name : Determine issue number
10421042 id : get_issue_number
1043- uses : koppor/ticket-check-action@add-output
1043+ uses : koppor/ticket-check-action@5c5d28364fe8d3c2822611e0556fcacdde473b49 # add-output
10441044 with :
10451045 token : ${{ secrets.GITHUB_TOKEN }}
10461046 ticketLink : ' https://github.com/JabRef/jabref/issues/%ticketNumber%'
@@ -1053,7 +1053,7 @@ jobs:
10531053 outputOnly : true
10541054 - name : Comment on issue (build available)
10551055 if : ${{ (steps.get_issue_number.outputs.ticketNumber != '-1') && (needs.disk-space-check.outputs.available == 'true') }}
1056- uses : thollander/actions-comment-pull-request@v3
1056+ uses : thollander/actions-comment-pull-request@65f9e5c9a1f2cd378bd74b2e057c9736982a8e74 # v3
10571057 with :
10581058 pr-number : ${{ steps.get_issue_number.outputs.ticketNumber }}
10591059 message : >
@@ -1097,7 +1097,7 @@ jobs:
10971097 runs-on : ${{ matrix.os }}
10981098 steps :
10991099 - name : Download from GitHub workflow artifacts store (macOS)
1100- uses : actions/download-artifact@v8
1100+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
11011101 with :
11021102 name : JabRef-${{ matrix.os }}-tbn
11031103 - name : Notarize dmg
@@ -1124,7 +1124,7 @@ jobs:
11241124 rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' ${{ matrix.path }}/build/packages/${{ matrix.os }}/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }}/
11251125 - name : Upload artifacts
11261126 if : ${{ github.event.inputs.upload-as-artifact || 'false' == 'true' }}
1127- uses : actions/upload-artifact@v7
1127+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
11281128 with :
11291129 name : ${{ matrix.displayName }}
11301130 path : |
@@ -1137,7 +1137,7 @@ jobs:
11371137 runs-on : macos-15
11381138 steps :
11391139 - name : Download from GitHub workflow artifacts store (macOS)
1140- uses : actions/download-artifact@v8
1140+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
11411141 with :
11421142 name : jabkit-native-macos-15-tbn
11431143 path : jabkit/build/native-dist
@@ -1155,7 +1155,7 @@ jobs:
11551155 rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ needs.pre-build.outputs.branch }}/macOS-silicon/tools && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabkit/build/native-dist/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ needs.pre-build.outputs.branch }}/macOS-silicon/tools/
11561156 - name : Upload artifacts
11571157 if : ${{ github.event.inputs.upload-as-artifact == 'true' }}
1158- uses : actions/upload-artifact@v7
1158+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
11591159 with :
11601160 name : jabkit-native (macOS-silicon)
11611161 path : jabkit/build/native-dist/jabkit-native_macos-silicon.zip
@@ -1171,7 +1171,7 @@ jobs:
11711171 steps :
11721172 - name : Create pr_number.txt
11731173 run : echo "${{ github.event.pull_request.number }}" > pr_number.txt
1174- - uses : actions/upload-artifact@v7
1174+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
11751175 with :
11761176 name : pr_number
11771177 path : pr_number.txt
0 commit comments