Fix GitHub actions to work a little better
This commit is contained in:
parent
a4db1a1116
commit
57c331c6b4
9 changed files with 102 additions and 70 deletions
21
.github/workflows/_post-comment.yml
vendored
Normal file
21
.github/workflows/_post-comment.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue