Add an option to disable the "recheck" part of the comment #53
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
# To get a Slack Webhook URL, follow instruction here: https://api.slack.com/messaging/webhooks | |
name: "Notification regarding New Pull Request via Slack" | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
notifyViaSlack: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: denolib/setup-deno@v2 | |
with: | |
deno-version: v1.x | |
- run: | | |
echo ${{ github.event_name }} | |
echo ${{ github.event_path }} | |
deno run --allow-net https://deno.land/x/cicd/notify-via-slack.ts ${{ secrets.SLACK_WEBHOOK_URL }} ${{ github.repository }} "Pull Request Created - ${{ github.event.pull_request.html_url }}" | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context |