Concept about Pronto running locally

Viewed 22

I have some research about pronto. I decided to implemented it.follow official github guide. created .pronto.yml file and added.


name: Pronto
on: [pull_request]

jobs:
  pronto:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@main
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: '2.7'
      - run: gem install pronto pronto-rubocop 
      - run: git fetch origin
      - run: PRONTO_PULL_REQUEST_ID="$(jq --raw-output .number "$GITHUB_EVENT_PATH")" PRONTO_GITHUB_ACCESS_TOKEN="${{ github.token }}" pronto run -f github_status github_pr -c origin/main

It's working fine. I am getting review at github PR. The review is given by github bot.

I don't get running pronto locally.

Scenerio: First I checked the github branch. git branch. It list branches master, develop, post, author. If I am in branch master. Run pronto run command at terminal nothing is seen. After that I switched to branch post. I run command pronto run -c post, nothing is seen.

Run pronto run -c develop. I am on branch post. Got an error message <module:Unicode>': DisplayWidth is not a module (TypeError). I don't get clear concept about running pronto locally.

0 Answers
Related