🤖 Starts with the PR auto-commenter script

This commit is contained in:
Alicia Sykes 2021-09-05 23:20:20 +01:00
parent 6bb2bbb18b
commit 23441d87f4
2 changed files with 28 additions and 0 deletions

17
.github/pr-auto-comments.yml vendored Normal file
View File

@ -0,0 +1,17 @@
comment:
on-update: recreate
header: |
Thank you for contributing to Dashy! ✨
footer: |
---
> I'm a bot, and this is an automated comment 🤖
snippets:
- id: docs-changes
files:
- '*.md'
- '**/*.md'
body: |
When making changes to the documentation, be sure to double check that:
- Link and images URLs properly resolve
- Your spelling and grammar is correct
- Any markdown formatting is valid

11
.github/workflows/pr-commenter.yml vendored Normal file
View File

@ -0,0 +1,11 @@
# Adds comments to PR, based on which files are modified
name: PR Commenter
on: [ pull_request_target ]
jobs:
pr-comment:
runs-on: ubuntu-latest
steps:
- uses: exercism/pr-commenter-action@v1.2.0
with:
github-token: ${{ github.BOT_GITHUB_TOKEN }}
config-file: .github/pr-auto-comments.yml