Bump dependencies in Cairo repositories.
You will need to create a personal access token to let the GHA create a PR: How to create a PAT token
PAT Token required scope:
In your .github/workflows folder, add the following .yml file:
Note: You can choose a mix of schedule, push and manual trigger to execute the GHA
name: Dependascarbabot
on:
schedule:
- cron: "0 3 * * 1"
push:
branches:
- 'main'
workflow_dispatch:
jobs:
dependascarbabot:
runs-on: ubuntu-latest
steps:
- uses: cwastche/dependascarbabot@v1
with:
github-token: ${{ secrets.<TOKEN NAME> }}
If a '.tool-versions' file specifies the scarb version, that version will be used when calling 'scarb update' in the GHA, otherwise the latest stable version will be used.
Helpful links: