Skip to content

Conversation

@plakyda-codefresh
Copy link
Member

What

Adds a GitHub Action workflow that automatically generates and publishes a release index to GitHub Pages. The index tracks both stable and latest release channels, including security fix information and upgrade availability.

  • Node.js script (build-releases.js) that fetches releases via GitHub API, processes them into stable/latest channels, and generates a structured JSON index
  • GitHub Action workflow triggered on release publish/edit, manual dispatch, and every 6 hours
  • Deploys the generated releases.json to GitHub Pages (gh-pages branch)
  • Tracks up to 10 releases per channel with chart version, appVersion, security fixes, and upgrade flags

Why

Simplifies release tracking by moving the complexity out of the backend. Instead of implementing complex release processing logic and caching in api-graphql, we use a simple pull model - api-graphql just fetches the pre-built JSON from GitHub Pages. The heavy lifting (GitHub API pagination, version normalization, channel detection, security scanning) happens once in CI and gets cached as static JSON.

@plakyda-codefresh plakyda-codefresh requested a review from a team as a code owner November 2, 2025 16:22
- name: Build Release Index
working-directory: .github/scripts/release-index
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
Copy link
Contributor

Choose a reason for hiding this comment

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

use built in token

@plakyda-codefresh
Copy link
Member Author

/e2e

@plakyda-codefresh
Copy link
Member Author

/e2e

@plakyda-codefresh plakyda-codefresh merged commit c397178 into main Nov 5, 2025
5 checks passed
@plakyda-codefresh plakyda-codefresh deleted the CR-31710-github-action branch November 5, 2025 14:25
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.

4 participants