File tree 2 files changed +11
-8
lines changed
2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 9
9
- ' .gitignore'
10
10
- ' LICENSE'
11
11
- ' CODEOWNERS'
12
+ workflow_dispatch :
12
13
13
14
jobs :
14
15
codeql :
20
21
security-events : write
21
22
secrets : inherit
22
23
with :
23
- readertoken : false
24
+ javaversion : 21
24
25
package-command : ' ./gradlew clean build -x test'
25
26
branch : master
26
27
30
31
contents : read
31
32
secrets : inherit
32
33
with :
33
- readertoken : false
34
+ javaversion : 21
34
35
35
36
build :
36
37
uses : navikt/sif-gha-workflows/.github/workflows/gradle-build.yml@main
40
41
secrets : inherit
41
42
with :
42
43
team : k9saksbehandling
43
- dockercontext : .
44
- readertoken : false
44
+ javaversion : 21
45
45
46
46
trivy :
47
47
needs : [ build ]
61
61
uses : navikt/sif-gha-workflows/.github/workflows/gradle-deploy.yml@main
62
62
permissions :
63
63
contents : read
64
+ id-token : write
64
65
secrets : inherit
65
66
with :
66
67
image : ${{ needs.build.outputs.image }}
67
68
environment : fss
68
- deploy-prod : ${{ startsWith(github.ref, 'refs/heads/master') }}
69
+ deploy-prod : false
Original file line number Diff line number Diff line change 1
- name : Build Pull Request
1
+ name : Build Branch
2
2
on :
3
- pull_request :
3
+ push :
4
+ branches-ignore :
5
+ - master
4
6
paths-ignore :
5
7
- ' **.md'
6
8
- ' **.MD'
15
17
contents : read
16
18
secrets : inherit
17
19
with :
18
- readertoken : false
20
+ javaversion : 21
You can’t perform that action at this time.
0 commit comments