Skip to content

Workflow file for this run

name: Ready To Review
on: [workflow_call, workflow_dispatch]
jobs:
submitMessage:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action
- uses: 8BitJonny/[email protected]
id: PR
- name: Can Review PR
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: '{
"username": "GitHub Actions",
"avatar_url": "https://avatars.githubusercontent.com/u/44036562?s=200&v=4",
"content": "Ready to review PR: ${{ steps.PR.outputs.pr_title }}",
"embeds": [
{
"title": "Pull Request URL",
"url": "${{ steps.PR.outputs.pr_url }}"
},
{
"footer": {
"text": "${{github.event}}",
}]
}'