zellij/.github/workflows/update-rust-toolchain.yml
a-kenji 73740a4b3f add(ci): token to update-rust-toolchain
In order to trigger ci from the pr.
2022-03-21 12:14:21 +01:00

25 lines
630 B
YAML

name: update-rust-toolchain
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs:
update-rust-toolchain:
name: "Update rust-toolchain"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: update rust toolchain
id: urt
uses: a-kenji/update-rust-toolchain@v1
with:
minor-version-delta: 2
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-labels: |
dependencies
automated
rust