mithril-vndb/.github/workflows/_post-comment.yml
2024-09-23 04:55:07 -07:00

21 lines
420 B
YAML

name: Post comment
on:
workflow_call:
inputs:
url:
type: string
required: true
message:
type: string
required: true
jobs:
notify:
runs-on: ubuntu-latest
steps:
- run: gh issue comment "$ISSUE_URL" --body "$MESSAGE"
env:
ISSUE_URL: ${{ inputs.url }}
MESSAGE: ${{ inputs.message }}
GITHUB_TOKEN: ${{ github.token }}