mithril-vndb/.github/workflows/_post-comment.yml
Claudia Meadows b8f5a10022
Update _post-comment.yml
Passed the secret wrong.
2024-09-23 04:56:16 -07:00

23 lines
484 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: |
export GITHUB_TOKEN="$GH_TOKEN_SECRET"
gh issue comment "$ISSUE_URL" --body "$MESSAGE"
env:
ISSUE_URL: ${{ inputs.url }}
MESSAGE: ${{ inputs.message }}
GH_TOKEN_SECRET: ${{ github.token }}