diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index fc8f3bd..4aca93d 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -2,9 +2,9 @@ name: Update on: schedule: - # The scheduled jobs run only on `master`. Then we checkout `ja-all-enable`. + # The scheduled jobs run only on `master`. Then we checkout `ja-all-enabled`. # <https://github.community/t5/GitHub-Actions/Scheduled-builds-of-non-default-branch/td-p/32270> - - cron: '0 0 * * *' + - cron: "0 0 * * *" push: branches: - master @@ -33,13 +33,13 @@ jobs: default: true profile: minimal - - name: '`cargo install --debug --bin cargo-add cargo-edit`' + - name: "`cargo install --debug --bin cargo-add cargo-edit`" uses: actions-rs/cargo@v1 with: command: install args: --debug --bin cargo-add cargo-edit - - name: '`cargo install --debug cargo-outdated`' + - name: "`cargo install --debug cargo-outdated`" uses: actions-rs/cargo@v1 with: command: install @@ -86,7 +86,7 @@ jobs: print(f'::set-output name=body::{body}') shell: python3 {0} - - name: '`cargo update`' + - name: "`cargo update`" uses: actions-rs/cargo@v1 with: command: update @@ -94,9 +94,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: '[bot] Update the crates' - title: '[bot] Update the crates' + token: ${{ secrets.REPO_SCOPED_TOKEN }} + commit-message: "[bot] Update the crates" + title: "[bot] Update the crates" body: ${{ steps.upgrade.outputs.body }} branch: ja-all-enabled-update-the-crates base: ja-all-enabled