Sha256: 882a029d5d34464f033929174ba84e670575c4089faa2990e1d05cce0c017446

Contents?: true

Size: 723 Bytes

Versions: 17

Compression:

Stored size: 723 Bytes

Contents

#!/usr/bin/env bash

if [ -z "$CIRCLE_PULL_REQUEST" ]; then
  echo "Not a Pull Request, skipping Pronto."
  exit 0
fi

export PRONTO_GITHUB_SLUG="$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
export PRONTO_PULL_REQUEST_ID=$(echo "$CIRCLE_PULL_REQUEST" | grep -o 'pull.*' | cut -f2- -d/)

url="https://api.github.com/repos/$PRONTO_GITHUB_SLUG/pulls/$PRONTO_PULL_REQUEST_ID"
targetBranch=$(curl -H "Authorization: token $PRONTO_GITHUB_ACCESS_TOKEN" "$url" | jq '.base.ref' | tr -d '"')

mkdir ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null
git fetch origin "$targetBranch"

cp .pronto_spell.pws ~/.aspell.en.pws
bundle exec pronto run -f github_pr_review github_status -c origin/"$targetBranch" || true

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
talkable-style-1.2024.1101 shared/.circleci/bin/pronto
talkable-style-1.2024.0701 shared/.circleci/bin/pronto
talkable-style-1.2024.0320 shared/.circleci/bin/pronto
talkable-style-1.2024.0110 shared/.circleci/bin/pronto
talkable-style-1.2023.0615 shared/.circleci/bin/pronto
talkable-style-1.2023.0601 shared/.circleci/bin/pronto
talkable-style-1.2023.0315 shared/.circleci/bin/pronto
talkable-style-1.2022.1220 shared/.circleci/bin/pronto
talkable-style-1.2022.0901 shared/.circleci/bin/pronto
talkable-style-1.2022.0701 shared/.circleci/bin/pronto
talkable-style-1.2022.0501 shared/.circleci/bin/pronto
talkable-style-1.2022.0201 shared/.circleci/bin/pronto
talkable-style-1.2022.0131 shared/.circleci/bin/pronto
talkable-style-1.2021.1220 shared/.circleci/bin/pronto
talkable-style-1.2021.1101 shared/.circleci/bin/pronto
talkable-style-1.2021.1005 shared/.circleci/bin/pronto
talkable-style-1.2021.0810 shared/.circleci/bin/pronto