Fix GitHub actions to work a little better

This commit is contained in:
Claudia Meadows 2024-09-02 10:12:15 -07:00
parent a4db1a1116
commit 57c331c6b4
No known key found for this signature in database
GPG key ID: C86B594396786760
9 changed files with 102 additions and 70 deletions

21
.github/workflows/_post-comment.yml vendored Normal file
View 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 }}