diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ce73d0f64..0b1bfa39a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish playlists on: schedule: - - cron: '*/5 * * * *' + - cron: '0 1 * * *' jobs: generate: @@ -35,7 +35,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v1.5.1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }} COMMIT_MESSAGE: 'Update README.md' PULL_REQUEST_BRANCH: bot-patch PULL_REQUEST_TITLE: '[Bot] Update README.md'