Support versioned RBI annotations in CLI check #76
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: Team RubyDX notification | |
on: | |
pull_request_target: | |
types: [opened, reopened] | |
permissions: {} | |
jobs: | |
ping: | |
runs-on: ubuntu-latest | |
name: Trigger Team RubyDX notification | |
steps: | |
- name: Trigger Team RubyDX notification | |
env: | |
PULL_URL: ${{ github.event.pull_request.html_url }} | |
PULL_NUMBER: ${{ github.event.pull_request.number }} | |
PULL_REPO: ${{ github.event.pull_request.head.repo.full_name }} | |
PULL_BRANCH: ${{ github.event.pull_request.head.ref }} | |
run: | | |
curl -X POST -H 'Content-type: application/json' --fail ${{ secrets.SLACK_WEBHOOK_URL }} --data \ | |
" | |
{ | |
\"text\": \":pr-open: New pull request on shopify/rbi-central $PULL_URL\n\n:buildkite: ${{ secrets.BUILDKITE_TRIGGER_URL }}?message=shopify/rbi-private/$PULL_NUMBER&env=RBI_REPO=$PULL_REPO%0ARBI_BRANCH=$PULL_BRANCH%0APR_NUMBER=$PULL_NUMBER%0APULL_REQUEST_URL=$PULL_URL#new\" | |
}" |