Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify Slack channel about upcoming releases #5197

Merged
merged 4 commits into from
Sep 6, 2023
Merged

Conversation

bayandin
Copy link
Member

@bayandin bayandin commented Sep 4, 2023

Problem

If the next release is coming, we want to let everyone know about it by posting a message to the Slack channel with a list of commits.

Summary of changes

  • .github/workflows/release-notify.yml is added
  • the workflow sends a message to vars.SLACK_UPCOMING_RELEASE_CHANNEL_ID (or #test-release-notifications if not configured)
  • On each PR update, the workflow updates the list of commits in the message (it doesn't send additional messages)

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
  • If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

  • Do not forget to reformat commit message to not include the above checklist

@bayandin bayandin force-pushed the bayandin/release-notify branch 2 times, most recently from fc8a4d2 to 2ba2137 Compare September 4, 2023 23:36
@github-actions
Copy link

github-actions bot commented Sep 4, 2023

1624 tests run: 1551 passed, 0 failed, 73 skipped (full report)


Code coverage full report

  • functions: 53.3% (7452 of 13986 functions)
  • lines: 81.5% (44036 of 54050 lines)

The comment gets automatically updated with the latest test results
ae56566 at 2023-09-06T13:49:50.184Z :recycle:

@bayandin bayandin force-pushed the bayandin/release-notify branch 25 times, most recently from bfa4c20 to 8b3049b Compare September 5, 2023 21:39
@bayandin bayandin changed the title WIP: Notify about upcoming releases Notify Slack channel about upcoming releases Sep 5, 2023
@bayandin bayandin force-pushed the bayandin/release-notify branch 4 times, most recently from 2ff61cd to 809b893 Compare September 5, 2023 22:12
@bayandin bayandin marked this pull request as ready for review September 5, 2023 22:23
Copy link
Contributor

@kelvich kelvich left a comment

Choose a reason for hiding this comment

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

Quite a lot of code : ) Thank you!

@bayandin
Copy link
Member Author

bayandin commented Sep 6, 2023

I've moved the biggest part of the code to a separate action.

Now it'll be easier to reuse (see https://github.com/neondatabase/cloud/pull/6772)

@bayandin bayandin merged commit 76a96b0 into main Sep 6, 2023
33 checks passed
@bayandin bayandin deleted the bayandin/release-notify branch September 6, 2023 16:52
bayandin added a commit that referenced this pull request Sep 11, 2023
## Problem

When the next release is coming, we want to let everyone know about it by
posting a message to the Slack channel with a list of commits.

## Summary of changes
- `.github/workflows/release-notify.yml` is added
- the workflow sends a message to
`vars.SLACK_UPCOMING_RELEASE_CHANNEL_ID` (or
[#test-release-notifications](https://neondb.slack.com/archives/C05QQ9J1BRC)
if not configured)
- On each PR update, the workflow updates the list of commits in the
message (it doesn't send additional messages)
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.

2 participants