mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 04:06:55 -06:00
Slack notification on issue or pull requests
This commit is contained in:
20
.github/workflows/slack-notify-issues.yml
vendored
Normal file
20
.github/workflows/slack-notify-issues.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, reopened, deleted, closed]
|
||||||
|
name: Slack Issue Notification
|
||||||
|
jobs:
|
||||||
|
slackNotification:
|
||||||
|
name: Slack Notification Issue
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Slack Notification Issue
|
||||||
|
uses: rtCamp/action-slack-notify@master
|
||||||
|
env:
|
||||||
|
SLACK_CHANNEL: partnereng-issues
|
||||||
|
SLACK_COLOR: '#00A86B'
|
||||||
|
SLACK_ICON: https://pbs.twimg.com/profile_images/978188446178082817/86ulJdF0.jpg
|
||||||
|
SLACK_TITLE: "[${{ github.event.issue.state}}] ${{ github.event.issue.title }} on ${{ github.repository }} :rocket:"
|
||||||
|
SLACK_MESSAGE: 'Link: ${{ github.event.issue.url }}'
|
||||||
|
SLACK_USERNAME: PartnerEngineers
|
||||||
|
SLACK_WEBHOOK: ${{ secrets.SLACK_ISSUE_WEBHOOK }}
|
||||||
20
.github/workflows/slack-notify-pr.yml
vendored
Normal file
20
.github/workflows/slack-notify-pr.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, reopened, deleted, closed]
|
||||||
|
name: Slack Issue Notification
|
||||||
|
jobs:
|
||||||
|
slackNotification:
|
||||||
|
name: Slack Notification Issue
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Slack Notification Issue
|
||||||
|
uses: rtCamp/action-slack-notify@master
|
||||||
|
env:
|
||||||
|
SLACK_CHANNEL: partnereng-issues
|
||||||
|
SLACK_COLOR: '#00A86B'
|
||||||
|
SLACK_ICON: https://pbs.twimg.com/profile_images/978188446178082817/86ulJdF0.jpg
|
||||||
|
SLACK_TITLE: "[${{ github.event.issue.state}}] ${{ github.event.issue.title }} on ${{ github.repository }} :rocket:"
|
||||||
|
SLACK_MESSAGE: 'Link: ${{ github.event.issue.url }}'
|
||||||
|
SLACK_USERNAME: PartnerEngineers
|
||||||
|
SLACK_WEBHOOK: ${{ secrets.SLACK_ISSUE_WEBHOOK }}
|
||||||
Reference in New Issue
Block a user