Skip to content

Update lsp-ci.yaml [DO NOT MERGE] #212

Update lsp-ci.yaml [DO NOT MERGE]

Update lsp-ci.yaml [DO NOT MERGE] #212

Workflow file for this run

name: Publish a notification to Slack
on:
pull_request:
branches: [main]
types: [opened, reopened, ready_for_review, synchronize]
jobs:
notify:
name: Slack notification
if: github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.draft == false
runs-on: [ubuntu-latest]
steps:
- name: Post message
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
payload: |
{
"title": ${{ toJson(github.event.pull_request.title) }},
"author": ${{ toJson(github.event.pull_request.user.login) }},
"link": ${{ toJson(github.event.pull_request.html_url) }},
"repository": "Language-servers"
}