Skip to content

Commit

Permalink
chore: add slack notification actions for new and stale PRs (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs authored Mar 22, 2024
1 parent 9ba0104 commit 61e2b02
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/new-pr-notification.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: new-pr-notification-to-slack
on:
pull_request:
types: [opened]

jobs:
new-pr-notification:
uses: dymensionxyz/common-workflows/.github/workflows/new-pr-notification.yaml@main
secrets:
WEBHOOK_URL: ${{ secrets.SLACK_NEW_PR_CHANNEL_WEBHOOK }}
11 changes: 11 additions & 0 deletions .github/workflows/stale-pr-notification.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: stale-pr-notification-to-slack
on:
pull_request:
types: [labeled]

jobs:
stale-pr-notification:
if: github.event.label.name == 'Stale'
uses: dymensionxyz/common-workflows/.github/workflows/stale-pr-notification.yaml@main
secrets:
WEBHOOK_URL: ${{ secrets.SLACK_STALE_PR_CHANNEL_WEBHOOK }}

0 comments on commit 61e2b02

Please sign in to comment.