Skip to content

Commit

Permalink
chore(actions): stop spamming stale notification for forks + 2 (#26584)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
watany-dev authored Aug 1, 2023
1 parent 23367e8 commit f6709ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/repo-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ permissions:

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

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/spec-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

jobs:
update-spec:
# this workflow will always fail in forks; bail if this isn't running in the upstream
if: github.repository == 'aws/aws-cdk'
name: Update AWS Service Spec packages
permissions:
contents: read
Expand Down

0 comments on commit f6709ac

Please sign in to comment.