chore: remove CI workflow before upstream PR
This commit is contained in:
parent
c91fd562c7
commit
c4aa0a9c95
1 changed files with 0 additions and 20 deletions
20
.github/workflows/pr_notify.yml
vendored
20
.github/workflows/pr_notify.yml
vendored
|
|
@ -1,20 +0,0 @@
|
|||
name: PR Notifier
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, closed]
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Notify Discord
|
||||
env:
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||
run: |
|
||||
curl -H "Content-Type: application/json" -d '{"content": "🔔 Pull Request [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) by ${{ github.event.pull_request.user.login }} - ${{ github.event.action }}"}' $DISCORD_WEBHOOK_URL
|
||||
- name: Notify Slack
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
run: |
|
||||
curl -H "Content-Type: application/json" -d '{"text": ":bell: Pull Request <${{ github.event.pull_request.html_url }}|${{ github.event.pull_request.title }}> by ${{ github.event.pull_request.user.login }} - ${{ github.event.action }}"}' $SLACK_WEBHOOK_URL
|
||||
Loading…
Add table
Add a link
Reference in a new issue