Skip to content

Commit 59c8c7d

Browse files
chore(codecov): codecov refactored into collect and upload workflows (#34461)
### Issue # (if applicable) same as #34247 #34211 Closes #<issue number here>. ### Reason for this change collect workflow runs with limited permissions upload workflow runs on elevated permissions ### Description of changes ### Describe any new or updated permissions being added ### Description of how you validated changes ### Checklist - [ x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 35e818b commit 59c8c7d

File tree

2 files changed

+2
-45
lines changed

2 files changed

+2
-45
lines changed

.github/workflows/codecov-upload.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
permissions:
1010
contents: write
1111
id-token: write
12+
actions: read
1213

1314
jobs:
1415
upload:
@@ -24,6 +25,7 @@ jobs:
2425
with:
2526
name: coverage-artifacts
2627
path: ./coverage
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
2729
repository: ${{ github.repository }}
2830
run-id: ${{ github.event.workflow_run.id }}
2931

.github/workflows/codecov.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)