From 37edfdd42d6ad9c7a5c306605704d634acf10d23 Mon Sep 17 00:00:00 2001 From: clabby Date: Wed, 9 Oct 2024 12:41:18 -0400 Subject: [PATCH] chore(ci): Reduce monorepo auto-update frequency (#671) * chore(ci): Reduce monorepo auto-update frequency * move to repository secret --- .github/workflows/monorepo_pin_update.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/monorepo_pin_update.yaml b/.github/workflows/monorepo_pin_update.yaml index 173a6a57d..8359be983 100644 --- a/.github/workflows/monorepo_pin_update.yaml +++ b/.github/workflows/monorepo_pin_update.yaml @@ -2,7 +2,7 @@ name: Update the monorepo pin commit on: schedule: - - cron: '30 5 */2 * *' + - cron: '30 5 */14 * *' workflow_dispatch: jobs: @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - token: ${{ secrets.PAT_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - uses: taiki-e/install-action@just - uses: dtolnay/rust-toolchain@stable - name: Update Monorepo Commit @@ -23,7 +23,7 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v7 with: - token: ${{ secrets.PAT_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update Monorepo Commit signoff: false branch: bot/update-monorepo