Skip to content

feat: add commit author to all deployment notifications#8511

Open
SelimEmre wants to merge 5 commits intocoollabsio:nextfrom
SelimEmre:feat/add-commit-author-to-notifications
Open

feat: add commit author to all deployment notifications#8511
SelimEmre wants to merge 5 commits intocoollabsio:nextfrom
SelimEmre:feat/add-commit-author-to-notifications

Conversation

@SelimEmre
Copy link
Copy Markdown

Added the commit_author detail from ApplicationDeploymentQueue to all deployment notification channels (toDiscord, toTelegram, toPushover, toMail, toWebhook) during both successful deployments (DeploymentSuccess.php) and failed deployments (DeploymentFailed.php). Blade email templates were also updated to render the commit author if available.

This ensures that team members receive full visibility into who authored the commit that triggered the deployment directly from the notification channel, regardless of the platform they use to monitor deployments.

Issues
#8510

Category

  • New feature

AI Usage

  • AI is used in the process of creating this PR

Steps to Test

  • Step 1 – Trigger a deployment (via webhook, PR, or manually) that has an associated Git commit author.
  • Step 2 – Check your configured notification channels (e.g., Discord or Telegram).
  • Step 3 – Verify that the "Commit Author" field is visibly populated in the success notification message.
  • Step 4 – Force a deployment to fail (e.g., by adding an invalid command in the build pack) and verify that the "Commit Author" is also present in the failure notification.

Contributor Agreement

Important

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them

Copilot AI review requested due to automatic review settings February 21, 2026 12:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds commit author information to deployment notifications across all channels (Discord, Telegram, Pushover, Slack, Email, Webhook). It introduces a new database column commit_author in the application_deployment_queues table and updates both success and failure notification classes to query and display this information when available.

Changes:

  • Added database migration to create commit_author column
  • Updated ApplicationDeploymentQueue model to include commit_author in OpenAPI schema
  • Modified DeploymentSuccess and DeploymentFailed notification classes to fetch and display commit author across all notification methods
  • Updated Blade email templates to display commit author when available

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
database/migrations/2025_02_20_165000_add_commit_author_to_application_deployment_queues.php Adds nullable string column for commit author after commit_message
app/Models/ApplicationDeploymentQueue.php Updates OpenAPI schema to include commit_author field
app/Notifications/Application/DeploymentSuccess.php Queries deployment and displays commit_author in all notification channels (Discord, Telegram, Pushover, Slack, Email, Webhook)
app/Notifications/Application/DeploymentFailed.php Queries deployment and displays commit_author in all notification channels (Discord, Telegram, Pushover, Slack, Email, Webhook)
resources/views/emails/application-deployment-success.blade.php Adds commit author display in success email template
resources/views/emails/application-deployment-failed.blade.php Adds commit author display in failure email template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants