feat: Send started and terminated subscription webhooks #2659
Workflow file for this run
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: Pronto | |
on: [pull_request] | |
jobs: | |
linters: | |
name: Linters | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- run: | | |
git fetch --no-tags --prune --depth=10 origin +refs/heads/*:refs/remotes/origin/* | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Setup pronto | |
run: | | |
gem install rugged -v 1.6.3 | |
gem install pronto | |
gem install pronto-rubocop | |
gem install rubocop -v 1.44.1 | |
gem install rubocop-rspec | |
gem install rubocop-performance | |
gem install rubocop-rails | |
gem install rubocop-thread_safety | |
gem install rubocop-graphql | |
- name: Run Pronto | |
run: PRONTO_PULL_REQUEST_ID="${{ github.event.pull_request.number }}" PRONTO_GITHUB_ACCESS_TOKEN="${{ secrets.GH_TOKEN }}" pronto run -f github_status github_pr -c origin/${{ github.base_ref }} |