Skip to content

Commit

Permalink
Run external review-bot action
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Sep 23, 2020
1 parent c83f1a9 commit ed331b0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: On PR

on: [pull_request]
on: [pull_request_target]

jobs:
tests:
Expand Down Expand Up @@ -28,9 +28,8 @@ jobs:
- name: Install Python dependencies
run: python3 -m pip install pyyaml git+https://github.com/packagecontrol/st_package_reviewer.git@d2b43530442f227751c925d259df8fb324eee18f

- name: Trigger package review
run: |
python3 review-bot.py \
--pr-url ${{ github.event.pull_request.url }} \
--base-sha ${{ github.event.pull_request.base.sha }} \
--token ${{ secrets.GITHUB_TOKEN }}
- uses: sublimelsp/review-bot-action@v1
with:
pr-url: ${{ github.event.pull_request.url }}
base-sha: ${{ github.event.pull_request.base.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ed331b0

Please sign in to comment.