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
27 changes: 27 additions & 0 deletions .github/workflows/comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: auto comment
on:
pull_request:
branches: [main]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `👋 @${{ context.payload.pull_request.user.login }}
Thank you for raising your pull request.

# Checklist before merging

- [ ] Add description to the Pull Request
- [ ] Check the License of new pictures (non-commercial use without attribution)
- [ ] Modify content in English
- [ ] Modify content in German
- [ ] Modify content in French`
})
Loading