Skip to content

Commit 104ca7f

Browse files
kaizenccmrgrain
andauthored
chore: fix codecov workflow (#97)
runs are currently failing because `runs-on` is required: https://github.com/aws/aws-cdk-cli/actions/runs/13461282048 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Momo Kornher <[email protected]>
1 parent 628aa71 commit 104ca7f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/codecov.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ new CdkCliIntegTestsWorkflow(repo, {
12831283
});
12841284

12851285
new CodeCovWorkflow(repo, {
1286-
restrictToRepos: ['aws-cdk-cli/aws-cdk-cli'],
1286+
restrictToRepos: ['aws/aws-cdk-cli'],
12871287
packages: [cli.name],
12881288
});
12891289

projenrc/codecov.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class CodeCovWorkflow extends Component {
2424
});
2525

2626
this.workflow.addJob('collect', {
27+
runsOn: ['aws-cdk_ubuntu-latest_4-core'],
2728
permissions: { idToken: JobPermission.WRITE },
2829
if: props.restrictToRepos.map(r => `github.repository == '${r}'`).join(' || '),
2930
steps: [

0 commit comments

Comments
 (0)