Skip to content

Update HELLO.md to verify new workflow runs correctly #1

Update HELLO.md to verify new workflow runs correctly

Update HELLO.md to verify new workflow runs correctly #1

Workflow file for this run

name: Poems
on:
pull_request_target:
types: [opened]
permissions:
pull-requests: write
jobs:
post-poem-on-pr-open:
runs-on: ubuntu-latest
environment: pull-requests
steps:
- name: PR Poet
id: poet
uses: mkly/[email protected]
with:
message: ${{ github.event.pull_request.title }}
- name: Post comment to PR
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `${{steps.poet.outputs.poem}}`
})