An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat(comments): add automated comments for labeled pull requests to guide documentation updates
Cinzya1786e6c6bd05
diff --git a/.github/workflows/chore-pr-comments.yml b/.github/workflows/chore-pr-comments.ymlnew file mode 100644index 0000000000..472356b302--- /dev/null+++ b/.github/workflows/chore-pr-comments.yml@@ -0,0 +1,43 @@+name: Add comment based on label+on:+ pull_request:+ types:+ - labeled+jobs:+ add-comment:+ runs-on: ubuntu-latest+ permissions:+ pull-requests: write+ strategy:+ matrix:+ include:+ - label: "⚙️ Service"+ body: |+ It appears to us that you are either adding a new service or making changes to an existing one.+ We kindly ask you to also review and update the **Coolify Documentation** to include this new service or it's new configuration needs.+ This will help ensure that our documentation remains accurate and up-to-date for all users.++ Coolify Docs Repository: https://github.com/coollabsio/coolify-docs+ How to Contribute a new Service to the Docs: https://coolify.io/docs/get-started/contribute/service#adding-a-new-service-template-to-the-coolify-documentation+ - label: "🛠️ Feature"+ body: |+ It appears to us that you are adding a new feature to Coolify.+ We kindly ask you to also update the **Coolify Documentation** to include information about this new feature.+ This will help ensure that our documentation remains accurate and up-to-date for all users.++ Coolify Docs Repository: https://github.com/coollabsio/coolify-docs+ How to Contribute to the Docs: https://coolify.io/docs/get-started/contribute/documentation+ # - label: "✨ Enhancement"+ # body: |+ # It appears to us that you are making an enhancement to Coolify.+ # We kindly ask you to also review and update the Coolify Documentation to include information about this enhancement if applicable.+ # This will help ensure that our documentation remains accurate and up-to-date for all users.+ steps:+ - name: Add comment+ if: github.event.label.name == matrix.label+ run: gh pr comment "$NUMBER" --body "$BODY"+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ GH_REPO: ${{ github.repository }}+ NUMBER: ${{ github.event.pull_request.number }}+ BODY: ${{ matrix.body }}