Skip to content

bob0005/Dependascarbabot

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Dependascarbabot

Bump dependencies in Cairo repositories.

Usage

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:

alt text

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:

POSIX cron syntax

Setting up schedule

Setting up push

How to manually trigger the GHA

About

Bump dependencies in Cairo repositories.

Resources

Stars

Watchers

Forks

Packages

No packages published