Skip to content

Commit ea027ab

Browse files
authored
Merge pull request #4299 from facebook/ga_harden
Improved Github Actions scorecards
2 parents 99a12e6 + b14d76d commit ea027ab

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/android-ndk-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
push:
77
branches: [ actionsTest, '*ndk*' ]
88

9+
permissions: read-all
10+
911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
@@ -14,13 +16,13 @@ jobs:
1416
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
1517

1618
- name: Set up JDK 17
17-
uses: actions/setup-java@v4
19+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
1820
with:
1921
java-version: '17'
2022
distribution: 'temurin'
2123

2224
- name: Setup Android SDK
23-
uses: android-actions/setup-android@v3
25+
uses: android-actions/setup-android@9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407 # v3.2.2
2426

2527
- name: Install Android NDK
2628
run: |

.github/workflows/dev-short-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
9898
with:
9999
path: "${{ env.SRC_DIR }}"
100-
- uses: ilammy/msvc-dev-cmd@v1
100+
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
101101
if: ${{ matrix.generator == 'NMake Makefiles' }}
102102
- name: cmake build on a source directory with spaces
103103
run: |
@@ -722,4 +722,4 @@ jobs:
722722
- name: make check
723723
run: |
724724
source /opt/intel/oneapi/setvars.sh
725-
make CC=icx check
725+
make CC=icx check

0 commit comments

Comments
 (0)