Add LSP-SonarLint #183
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On PR | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened, review_requested] | |
jobs: | |
trigger-review: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
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@v1 | |
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 }} |