@@ -15,23 +15,25 @@ concurrency:
15
15
permissions :
16
16
contents : " read"
17
17
id-token : " write"
18
+ issues : " write"
19
+ pull-requests : " write"
18
20
19
21
jobs :
20
22
lint :
21
23
name : Run Lint
22
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
24
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
23
25
24
26
build :
25
27
name : Build API
26
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
28
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
27
29
secrets : inherit
28
30
with :
29
31
repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
30
32
31
33
codecovstartup :
32
34
name : Codecov Startup
33
35
needs : build
34
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
36
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
35
37
secrets : inherit
36
38
37
39
# ats:
@@ -47,15 +49,15 @@ jobs:
47
49
test :
48
50
name : Test
49
51
needs : [build]
50
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
52
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
51
53
secrets : inherit
52
54
with :
53
55
repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
54
56
55
57
build-self-hosted :
56
58
name : Build Self Hosted API
57
59
needs : [build, test]
58
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
60
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
59
61
secrets : inherit
60
62
with :
61
63
repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
64
66
name : Push Staging Image
65
67
needs : [build, test]
66
68
if : ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/staging' && github.repository_owner == 'codecov' }}
67
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
69
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
68
70
secrets : inherit
69
71
with :
70
72
environment : staging
74
76
name : Push Production Image
75
77
needs : [build, test]
76
78
if : ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
77
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
79
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
78
80
secrets : inherit
79
81
with :
80
82
environment : production
85
87
needs : [build-self-hosted, test]
86
88
secrets : inherit
87
89
if : ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'codecov' }}
88
- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24
90
+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26
89
91
with :
90
92
push_rolling : true
91
93
repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
0 commit comments