We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4ff7b commit b7f88afCopy full SHA for b7f88af
1 file changed
.github/workflows/build.yaml
@@ -6,10 +6,16 @@ on:
6
- main
7
pull_request:
8
9
+permissions: {}
10
+
11
jobs:
12
build:
13
name: Build (${{ matrix.runner }})
14
runs-on: ${{ matrix.runner }}
15
16
+ permissions:
17
+ contents: read
18
19
strategy:
20
matrix:
21
runner:
@@ -18,10 +24,12 @@ jobs:
24
25
steps:
26
- name: Checkout
- uses: actions/checkout@v4
27
+ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
28
+ with:
29
+ persist-credentials: false
22
30
23
31
- name: Set up JDK 11
- uses: actions/setup-java@v4
32
+ uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0
33
with:
34
java-version: "11"
35
distribution: temurin
0 commit comments