From 83bfa0a50dc9091ca08fe24a3bcb64bcd5ff20ca Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Sat, 10 Feb 2024 08:26:39 -0800 Subject: [PATCH] Only run repo-maintenance.yaml on 'commaai/openpilot' (#31401) This otherwise fails and causes a periodic annoying email for users who have forked the repo. old-commit-hash: 299dbb564dfdc4d9ae1c18aa4dd34ab895f5ebee --- .github/workflows/repo-maintenance.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/repo-maintenance.yaml b/.github/workflows/repo-maintenance.yaml index a59fd0ebf8..445a1cf11c 100644 --- a/.github/workflows/repo-maintenance.yaml +++ b/.github/workflows/repo-maintenance.yaml @@ -11,6 +11,7 @@ jobs: runs-on: ubuntu-20.04 container: image: ghcr.io/commaai/openpilot-base:latest + if: github.repository == 'commaai/openpilot' steps: - uses: actions/checkout@v4 with: @@ -36,6 +37,7 @@ jobs: runs-on: ubuntu-20.04 container: image: ghcr.io/commaai/openpilot-base:latest + if: github.repository == 'commaai/openpilot' steps: - uses: actions/checkout@v4 - name: poetry lock