Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/automatic-PR-message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Safe PR Greeting

on:
pull_request:
types: [opened]

permissions:
issues: write
pull-requests: write
contents: read

jobs:
safe-pr-comment:
runs-on: ubuntu-latest
steps:
- name: Add safe comment
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.payload.pull_request.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `### Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the **file changes** and ensure that **all commits** are accurate.

If there are any **unresolved review comments**, feel free to resolve them. 🙌🏼`
})
Loading