Skip to content

Commit f6709ac

Browse files
authored
chore(actions): stop spamming stale notification for forks + 2 (#26584)
Related to #26578, I also receive these two JobErrors at my end. Both are unnecessary, so I will disable them in the forked repository. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 23367e8 commit f6709ac

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/repo-metrics.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ permissions:
1010

1111
jobs:
1212
build:
13+
# this workflow will always fail in forks; bail if this isn't running in the upstream
14+
if: github.repository == 'aws/aws-cdk'
1315
name: metrics
1416
runs-on: ubuntu-latest
1517

.github/workflows/spec-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
update-spec:
11+
# this workflow will always fail in forks; bail if this isn't running in the upstream
12+
if: github.repository == 'aws/aws-cdk'
1113
name: Update AWS Service Spec packages
1214
permissions:
1315
contents: read

0 commit comments

Comments
 (0)