Skip to content

Commit

Permalink
Disable janitor in forks (#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermckinnon authored Aug 25, 2023
1 parent 4bae289 commit 7e3dc9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/janitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ permissions:
contents: read
jobs:
cluster-sweeper:
# disable in forks
if: github.repository == 'awslabs/amazon-eks-ami'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -21,6 +23,8 @@ jobs:
# 3 hours
max_age_seconds: 10800
ami-sweeper:
# disable in forks
if: github.repository == 'awslabs/amazon-eks-ami'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 7e3dc9b

Please sign in to comment.