Update #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '7 5 1 * *' | |
name: Update | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- run: cargo install svd2rust | |
- run: cargo install form | |
- uses: oleksiyrudenko/[email protected] | |
with: | |
token: '${{ secrets.GITHUB_TOKEN }}' | |
- shell: bash | |
run: ./svd.sh | |
- uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_SECRET_KEY }} | |
- uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: svd-update | |
commit-message: "feat: updating from newer svd2rust" | |
title: "feat: updating from newer svd2rust" | |
labels: automerge | |
token: ${{ steps.generate-token.outputs.token }} |