diff --git a/.github/pr-auto-comments.yml b/.github/pr-auto-comments.yml new file mode 100644 index 00000000..e2d145bf --- /dev/null +++ b/.github/pr-auto-comments.yml @@ -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 diff --git a/.github/workflows/pr-commenter.yml b/.github/workflows/pr-commenter.yml new file mode 100644 index 00000000..cc87a05e --- /dev/null +++ b/.github/workflows/pr-commenter.yml @@ -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