Skip to content

New OpEx Dashboard Reusable Workflow#1294

Merged
gunzip merged 83 commits intomainfrom
chores/opex-workflow
Feb 20, 2026
Merged

New OpEx Dashboard Reusable Workflow#1294
gunzip merged 83 commits intomainfrom
chores/opex-workflow

Conversation

@gunzip
Copy link
Copy Markdown
Contributor

@gunzip gunzip commented Feb 4, 2026

Enhance the OpEx Dashboard action by improving documentation, supporting multiple config patterns, and streamlining deployment processes. Introduce new scripts for better management of generated Terraform files and optimize change detection logic.

gunzip and others added 14 commits February 2, 2026 19:44
- Implement initial release of the OpEx Dashboard Generate action
- Include scripts for detecting changes, generating Terraform, and creating pull requests
- Add comprehensive README and CHANGELOG for usage and features
- Ensure security best practices with fork protection and proper variable quoting
…and security validations

- Add parallel processing for dashboard generation
- Implement npm package caching to speed up runs
- Introduce dry run support for previewing changes
- Validate input patterns to prevent injection attacks
- Modify commit behavior to include only Terraform files
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… instructions for OpEx Dashboard Generate action
… and functionality

- Updated README.md to enhance usage examples and migration instructions.
- Modified action.yaml to support multiple config patterns and removed unnecessary inputs.
- Replaced create-pr.sh with direct PR handling in the workflow.
- Enhanced detect-changes.sh to support multiple config patterns and improved change detection logic.
- Introduced extract-directories.sh for better management of generated Terraform files.
- Added opex-dashboard-deploy.yaml for streamlined deployment processes.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: cbf87a2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@pagopa/opex-dashboard-generate-action Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gunzip gunzip changed the base branch from chores/opex-action to main February 4, 2026 19:35
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
@gunzip gunzip changed the title Refactor OpEx Dashboard action for clarity and functionality New OpEx Dashboard Reusable Workflow Feb 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a new reusable workflow and composite action for automatically detecting, generating, and deploying OpEx dashboards from OpenAPI specifications to Azure infrastructure. The solution provides smart change detection, parallel processing, and integration with existing Terraform deployment workflows.

Changes:

  • Added comprehensive documentation for the OpEx Dashboard deployment workflow with usage examples, architecture details, and migration guide
  • Created a composite action for detecting configuration changes and generating Terraform code from dashboard configs
  • Implemented a reusable workflow that orchestrates generation and parallel deployment using matrix strategy

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
apps/website/docs/pipelines/opex-dashboard.md Comprehensive documentation covering features, usage, architecture, security, and migration
apps/website/docs/pipelines/index.md Added OpEx Dashboard link to pipelines index
actions/opex-dashboard-generate/package.json Package metadata for the new composite action
actions/opex-dashboard-generate/generate-terraform.sh Script to generate Terraform files from dashboard configs using @pagopa/opex-dashboard
actions/opex-dashboard-generate/extract-directories.sh Script to extract directories containing generated Terraform and format for matrix deployment
actions/opex-dashboard-generate/detect-changes.sh Script to detect modified config files and referenced OpenAPI specs
actions/opex-dashboard-generate/action.yaml Composite action manifest defining inputs, outputs, and orchestration steps
actions/opex-dashboard-generate/README.md Action documentation with quick examples and architecture overview
.github/workflows/opex-dashboard-deploy.yaml Reusable workflow for parallel dashboard generation and deployment
.changeset/new-opex-dashboard-generate-action.md Changeset file for version bump

Comment thread actions/opex-dashboard-generate/detect-changes.sh
Comment thread actions/opex-dashboard-generate/detect-changes.sh Outdated
Comment thread actions/opex-dashboard-generate/extract-directories.sh Outdated
Comment thread actions/opex-dashboard-generate/package.json
Comment thread actions/opex-dashboard-generate/detect-changes.sh Outdated
gunzip and others added 2 commits February 4, 2026 20:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 12 comments.

Comment thread .github/workflows/opex-dashboard-deploy.yaml
Comment thread actions/opex-dashboard-generate/package.json
Comment thread actions/opex-dashboard-generate/detect-changes.sh Outdated
Comment thread actions/opex-dashboard-generate/detect-changes.sh
Comment thread actions/opex-dashboard-generate/detect-changes.sh Outdated
Comment thread .github/workflows/opex-dashboard-deploy.yaml
Comment thread actions/opex-dashboard-generate/detect-changes.sh Outdated
Comment thread actions/opex-dashboard-generate/README.md Outdated
Comment thread apps/website/docs/pipelines/opex-dashboard.md Outdated
Comment thread .github/workflows/opex-dashboard-deploy.yaml
Comment thread .github/workflows/opex-dashboard-deploy.yaml Fixed
Comment thread actions/opex-dashboard-generate/package.json
Comment thread .github/workflows/opex-dashboard-deploy.yaml
Comment thread .github/workflows/opex-dashboard-deploy.yaml Outdated
Comment thread apps/website/docs/pipelines/opex-dashboard.md Outdated
…pdate action reference; enhance deployment conditions for apply job
Comment thread .github/workflows/opex-dashboard-deploy.yaml Dismissed
@gunzip gunzip requested review from a team and Krusty93 February 20, 2026 08:53
@gunzip gunzip merged commit 14a3815 into main Feb 20, 2026
8 of 10 checks passed
@gunzip gunzip deleted the chores/opex-workflow branch February 20, 2026 09:02
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.

5 participants