Set wait_for_callback context subtype #43
Workflow file for this run
This file contains hidden or 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 Slack - Pull Requests | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, ready_for_review] | |
| permissions: {} | |
| jobs: | |
| notify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send pull request notification to Slack | |
| if: github.event.pull_request.draft == false | |
| uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3 | |
| with: | |
| webhook: ${{ secrets.SLACK_WEBHOOK_URL_PR }} | |
| webhook-type: incoming-webhook | |
| payload: | | |
| { | |
| "action": "${{ github.event.action }}", | |
| "pr_url": "${{ github.event.pull_request.html_url }}", | |
| "package_name": "${{ github.repository }}" | |
| } |