Release v0.1.1 #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify about PR ready for review | |
on: | |
# Run this workflow from the target branch. We do this because GitHub doesn't allow reading secrets from forked PRs | |
# source branch, and it would cause problems for PRs opened by dependabot. | |
pull_request_target: | |
branches: ["main"] | |
types: [ opened, ready_for_review ] | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
slackNotification: | |
name: Slack Notification | |
if: startsWith(github.head_ref, 'dependabot/') # This step only runs when PR has dependabot/ HEAD | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Slack Notification | |
uses: kv109/action-ready-for-review@0.2 | |
env: | |
SLACK_CHANNEL: sdk-security-alerts | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |