From e4ac9af4045df260b4ba506966f17d121e5a6815 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 25 Jul 2025 12:02:57 -0400 Subject: [PATCH] ci: enable repo maintenance workflow (#1071) * ci: enable repo maintenance workflow * feature branch for now * gate this * back to sp master * update later * fix format --- .github/workflows/repo-maintenance.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/repo-maintenance.yaml b/.github/workflows/repo-maintenance.yaml index 6bd86ce7e..0a83d3a01 100644 --- a/.github/workflows/repo-maintenance.yaml +++ b/.github/workflows/repo-maintenance.yaml @@ -13,7 +13,7 @@ env: jobs: update_translations: runs-on: ubuntu-latest - if: github.repository == 'commaai/openpilot' + if: github.repository == 'sunnypilot/sunnypilot' steps: - uses: actions/checkout@v4 - uses: ./.github/workflows/setup-with-retry @@ -23,12 +23,12 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83 with: - author: Vehicle Researcher + author: github-actions[bot] commit-message: "Update translations" title: "[bot] Update translations" body: "Automatic PR from repo-maintenance -> update_translations" branch: "update-translations" - base: "master" + base: "master-new" delete-branch: true labels: bot @@ -61,12 +61,12 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83 with: - author: Vehicle Researcher - token: ${{ secrets.ACTIONS_CREATE_PR_PAT }} + author: github-actions[bot] + token: ${{ github.repository == 'commaai/openpilot' && secrets.ACTIONS_CREATE_PR_PAT || secrets.GITHUB_TOKEN }} commit-message: Update Python packages title: '[bot] Update Python packages' branch: auto-package-updates - base: master + base: master-new delete-branch: true body: 'Automatic PR from repo-maintenance -> package_updates' labels: bot