diff --git a/.github/workflows/new-pr-notification.yaml b/.github/workflows/new-pr-notification.yaml new file mode 100644 index 0000000..d8bcff9 --- /dev/null +++ b/.github/workflows/new-pr-notification.yaml @@ -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 }} diff --git a/.github/workflows/stale-pr-notification.yaml b/.github/workflows/stale-pr-notification.yaml new file mode 100644 index 0000000..19b4342 --- /dev/null +++ b/.github/workflows/stale-pr-notification.yaml @@ -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 }}