@@ -15,23 +15,25 @@ concurrency:
1515permissions :
1616 contents : " read"
1717 id-token : " write"
18+ issues : " write"
19+ pull-requests : " write"
1820
1921jobs :
2022 lint :
2123 name : Run Lint
22- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24 24+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26 2325
2426 build :
2527 name : Build API
26- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24 28+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26 2729 secrets : inherit
2830 with :
2931 repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
3032
3133 codecovstartup :
3234 name : Codecov Startup
3335 needs : build
34- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24 36+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26 3537 secrets : inherit
3638
3739 # ats:
@@ -47,15 +49,15 @@ jobs:
4749 test :
4850 name : Test
4951 needs : [build]
50- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24 52+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26 5153 secrets : inherit
5254 with :
5355 repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
5456
5557 build-self-hosted :
5658 name : Build Self Hosted API
5759 needs : [build, test]
58- uses :
codecov/gha-workflows/.github/workflows/[email protected] .24 60+ uses :
codecov/gha-workflows/.github/workflows/[email protected] .26 5961 secrets : inherit
6062 with :
6163 repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
6466 name : Push Staging Image
6567 needs : [build, test]
6668 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 6870 secrets : inherit
6971 with :
7072 environment : staging
7476 name : Push Production Image
7577 needs : [build, test]
7678 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 7880 secrets : inherit
7981 with :
8082 environment : production
8587 needs : [build-self-hosted, test]
8688 secrets : inherit
8789 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 8991 with :
9092 push_rolling : true
9193 repo : ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}
0 commit comments