Skip to content

Commit 311dc0e

Browse files
committed
ci: skip schedule reporter on forks
1 parent 2dfee66 commit 311dc0e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/cloud_build_failure_reporter.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ on:
2929

3030
jobs:
3131
report:
32+
if: github.repository == 'GoogleCloudPlatform/cloud-sql-python-connector'
3233

3334
permissions:
3435
issues: 'write'

‎.github/workflows/schedule_reporter.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ on:
2020

2121
jobs:
2222
run_reporter:
23+
if: github.repository == 'GoogleCloudPlatform/cloud-sql-python-connector'
2324
permissions:
2425
issues: 'write'
2526
checks: 'read'
2627
contents: 'read'
2728
uses: ./.github/workflows/cloud_build_failure_reporter.yml
2829
with:
2930
trigger_names: "py-continuous-test-on-merge,py-integration-test-nightly"
31+

0 commit comments

Comments
 (0)