Skip to content

Commit f598885

Browse files
authored
chore: disable codecov workflow on forks (#32109)
We shouldn't be trying to publish codecov results when the workflow runs in a fork. Nevermind that it will most likely fail because a token is required. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 61a421c commit f598885

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/codecov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
collect:
1111
name: collect
12+
if: github.repository == 'aws/aws-cdk'
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Checkout

0 commit comments

Comments
 (0)