Skip to content

Add repository dispatch for EC release notes #3245

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

Merged
merged 3 commits into from
May 15, 2025

Conversation

diamonwiggins
Copy link
Member

@diamonwiggins diamonwiggins commented May 13, 2025

Example PR that's generated when this dispatch is triggered: #3246. I believe there are no release notes as the release notes generator does a diff between the current version and the last release version.

The above PR was tested manually with a workflow dispatch on the diamonwiggins/test-workflow-dispatch branch with:

curl -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer $GITHUB_TOKEN" \
  https://api.github.com/repos/replicatedhq/replicated-docs/actions/workflows/embedded-cluster-release-notes.yml/dispatches \
  -d '{
    "ref": "diamonwiggins/test-workflow-dispatch",
    "inputs": {
      "version": "2.4.0+k8s-1.30" 
    }
  }'

https://github.com/replicatedhq/replicated-docs/blob/diamonwiggins/test-workflow-dispatch/.github/workflows/embedded-cluster-release-notes.yml

@diamonwiggins diamonwiggins requested a review from sgalsaleh May 13, 2025 22:50
@diamonwiggins diamonwiggins requested a review from a team as a code owner May 13, 2025 22:50
Copy link

netlify bot commented May 13, 2025

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit 5626cb5
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs/deploys/6825f576151fa9000839494b
😎 Deploy Preview https://deploy-preview-3245--replicated-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@replicated-ci replicated-ci added type::docs Improvements or additions to documentation type::feature labels May 13, 2025
Copy link

netlify bot commented May 13, 2025

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit 5626cb5
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs-upgrade/deploys/6825f576d90987000870d0c6
😎 Deploy Preview https://deploy-preview-3245--replicated-docs-upgrade.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@diamonwiggins diamonwiggins changed the title Add workflow dispatch for EC release notes Add repository dispatch for EC release notes May 14, 2025
paigecalvert
paigecalvert previously approved these changes May 14, 2025
Copy link
Contributor

@paigecalvert paigecalvert left a comment

Choose a reason for hiding this comment

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

it looks like the slack notification part is commented out, but if you wanted to include it, just a heads up that I just bumped slackapi/slack-github-action@v2.0.0 to 2.1.0

@diamonwiggins
Copy link
Member Author

Thanks Paige! Will bump that and uncomment when https://github.com/replicatedcom/ITandSecurityRequests/issues/665 is ready.

@diamonwiggins diamonwiggins merged commit 8169c1d into main May 15, 2025
5 checks passed
@diamonwiggins diamonwiggins deleted the diamonwiggins/automate-ec-release-notes branch May 15, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::docs Improvements or additions to documentation type::feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants