Skip to content

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
@netlify
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
@netlify
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/[email protected] 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.

5 participants