Skip to content

Update comment_on_pr.yml #2

Update comment_on_pr.yml

Update comment_on_pr.yml #2

Workflow file for this run

name: Comment on Pull Request
on: [pull_request]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({

Check failure on line 12 in .github/workflows/comment_on_pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/comment_on_pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Greetings! This is an automated message from GitHub Actions. :robot: Your pull request has been received and is awaiting review by the repository owner or a maintainer. This may take some time, so please be patient. While you wait, you can continue to work on other issues or pull requests, or explore the project further. Or you can simply relax and enjoy your day. Thank you for your contribution to this project! You are awesome! :star:'
})