Skip to content

Add LSP-Spyglass

Add LSP-Spyglass #222

Workflow file for this run

name: On PR
on:
pull_request_target:
types: [opened, synchronize, reopened, review_requested]
jobs:
trigger-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.pull_request.number }}/merge
# Ensures python3-setuptools is installed
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Install Python dependencies
run: python3 -m pip install pyyaml
- uses: packagecontrol/st-schema-reviewer-action@v1
- uses: packagecontrol/st-package-reviewer-action@v1
with:
pr-url: ${{ github.event.pull_request.url }}
base-sha: ${{ github.event.pull_request.base.sha }}
current-sha: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.STREVIEWBOT_PERSONAL_ACCESS_TOKEN }}