Skip to content

ROU-13006: Add Slack notification to the release workflow - #276

Open
os-davidlourenco wants to merge 1 commit into
devfrom
ROU-13006
Open

os-davidlourenco wants to merge 1 commit into
devfrom
ROU-13006

Conversation

@os-davidlourenco

Copy link
Copy Markdown
Contributor

This PR is for adding a Slack notification to the release workflow so the team is alerted when a release PR is created.

What was happening

  • The release workflow merged the rc branch directly into main, with no visibility for the team when a release was in progress.
  • There was no way for each repository reusing the release workflow to configure its own Slack app and webhook.

What was done

  • Replaced the direct rc-into-main merge with a step that creates a release PR, skipping creation when the branches are identical or a PR already exists.
  • Added a Slack notification step that posts the release PR reference when a new PR is created.
  • Added OSUI_SLACK_WEBHOOK_URL as a required workflow secret so each repository using this reusable workflow can provide its own Slack app and webhook.
  • Removed the delete-rc-branch input and job, since deleting the rc branch would auto-close the open release PR.
  • Granted pull-requests write permission to the jobs that create the release PR.

Test Steps

  1. Configure the OSUI_SLACK_WEBHOOK_URL secret in the repository settings.
  2. Run the Release workflow with a version that has an existing rc branch.
  3. Confirm a PR from the rc branch into main is created and the Slack channel receives the notification.
  4. Re-run the workflow and confirm no duplicate PR is created and no duplicate notification is sent.

Screenshots

(prefer animated gif)

Checklist

  • tested locally
  • documented the code
  • clean all warnings and errors of eslint
  • requires changes in OutSystems (if so, provide a module with changes)
  • requires new sample page in OutSystems (if so, provide a module with changes)

Co-authored-by: Cursor <cursoragent@cursor.com>
@os-davidlourenco
os-davidlourenco requested a review from a team as a code owner October 14, 2026 13:06
@sonarqubecloud

Copy link
Copy Markdown

@gnbm
gnbm requested a balanced review from Copilot October 16, 2026 06:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants