Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:robot: Starts with the PR auto-commenter script

Alicia Sykes23441d87f46d
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/[email protected]
+ with:
+ github-token: ${{ github.BOT_GITHUB_TOKEN }}
+ config-file: .github/pr-auto-comments.yml