Merge branch 'backstage:master' into feature/set-default-type-filter-for-search
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Fixes a bug where the `EntityListProvider` would not correctly hydrate query parameters if more than 20 were provided for the same key.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed Checkbox indicator showing checkmark color when unchecked.
|
||||
|
||||
Affected components: Checkbox
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-graph': patch
|
||||
---
|
||||
|
||||
Fixed zoom out description (replace `&` with &)
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-auth0-provider': minor
|
||||
---
|
||||
|
||||
feat: Added organization option to authorization params of the strategy
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-search-backend-node': minor
|
||||
---
|
||||
|
||||
Improving method that search tokenizer breaks apart entity names
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
---
|
||||
|
||||
Add newline to OpenAPI license template files.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-auth-node': patch
|
||||
---
|
||||
|
||||
remove leading dot in auth cookie cleanup call
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed `ButtonIcon` incorrectly applying `className` to inner elements instead of only the root element.
|
||||
|
||||
Affected components: ButtonIcon
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed Table Row component to correctly handle cases where no `href` is provided, preventing unnecessary router provider wrapping and fixing the cursor incorrectly showing as a pointer despite the element not being a link.
|
||||
|
||||
Affected components: Row
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/backend-app-api': minor
|
||||
---
|
||||
|
||||
Introduced backend startup result tracking and error handling. The `Backend.start()` method now returns a `BackendStartupResult` with detailed success/failure status and timing information for all plugins and modules. When startup fails, a `BackendStartupError` is thrown that includes the complete startup results, making it easier to diagnose which plugins or modules failed.
|
||||
|
||||
This also improves the default error message when backend startup fails, and of course makes it possible to craft your own custom error reporting based on the startup results.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/frontend-plugin-api': patch
|
||||
---
|
||||
|
||||
Fixed a versioning conflict that could result in a `.withContext` is not a function error.
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
'@backstage/backend-plugin-api': patch
|
||||
---
|
||||
|
||||
**BREAKING ALPHA**: The old `instanceMetadataService` has been removed from alpha. Please switch over to using the stable `coreServices.rootInstanceMetadata` and related types instead, available from `@backstage/backend-plugin-api`.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': minor
|
||||
---
|
||||
|
||||
Add `defaultEnvironment` config to scaffolder to enable more flexible and custom templates. Now it's possible enable access to default parameters and secrets in templates, improving security and reducing complexity.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
long words like urls now breaks to new line on warning panels instead of overflowing the container
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes-backend': patch
|
||||
---
|
||||
|
||||
Replace `@aws-sdk/signature-v4` with `@smithy/signature-v4`,
|
||||
as stated in the [package documentation](https://www.npmjs.com/package/@aws-sdk/signature-v4?activeTab=readme)
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
'@backstage/frontend-app-api': patch
|
||||
---
|
||||
|
||||
Updated error reporting and app tree resolution logic to attribute errors to the correct extension and allow app startup to proceed more optimistically:
|
||||
|
||||
- If an attachment fails to provide the required input data, the error is now attributed to the attachment rather than the parent extension.
|
||||
- Singleton extension inputs will now only forward attachment errors if the input is required.
|
||||
- Array extension inputs will now filter out failed attachments instead of failing the entire app tree resolution.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend-module-github': patch
|
||||
---
|
||||
|
||||
cleaned up repo creation to make the unique portions explicit
|
||||
@@ -2,4 +2,4 @@
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Fixing OpenAPI definition
|
||||
Removed unused dependency
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/backend-defaults': minor
|
||||
---
|
||||
|
||||
Move `better-sqlite3` from dependencies to peer dependencies
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/integration': patch
|
||||
---
|
||||
|
||||
Made the github urls case insensitive.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
---
|
||||
|
||||
Minor internal restructure of the postgres config loading code
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-mcp-actions-backend': patch
|
||||
---
|
||||
|
||||
Clarify error handling in readme and update handleError.ts to include all backstage/errors
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-app-visualizer': patch
|
||||
---
|
||||
|
||||
Improved rendering performance of the details page.
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
---
|
||||
|
||||
Updates OpenAPI generator templates to preserve original property names (like 'group-name', 'user-id') from OpenAPI specs when propertyNaming=original is specified. Previously, these were always converted to camelCase regardless of the propertyNaming setting.
|
||||
|
||||
- Updates modelGeneric.mustache templates in both client and server generators
|
||||
- Updates modelTaggedUnion.mustache templates in both client and server generators
|
||||
- Uses {{baseName}} when available, falls back to {{name}} for backward compatibility
|
||||
- Maintains backward compatibility - no changes when propertyNaming=original is not used
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes-react': patch
|
||||
'@backstage/plugin-kubernetes': patch
|
||||
---
|
||||
|
||||
add missing i18n support for kubernetes and kubernetes-react
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
'@backstage/core-app-api': patch
|
||||
'@backstage/test-utils': patch
|
||||
---
|
||||
|
||||
Internal update of translation imports.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/core-plugin-api': patch
|
||||
---
|
||||
|
||||
The `useApp` and `useRouteRef` functions are now forwards compatible with the new frontend system. Along with the previous route reference changes this means that there is no longer a need to use `compatWrapper` from `@backstage/core-compat-api` to make code based on `@backstage/core-plugin-api` compatible with `@backstage/frontend-plugin-api` APIs.
|
||||
@@ -1,21 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-unprocessed-entities': patch
|
||||
'@backstage/plugin-app-visualizer': patch
|
||||
'@backstage/plugin-catalog-import': patch
|
||||
'@backstage/plugin-catalog-graph': patch
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
'@backstage/plugin-notifications': patch
|
||||
'@backstage/plugin-user-settings': patch
|
||||
'@backstage/plugin-kubernetes': patch
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
'@backstage/plugin-api-docs': patch
|
||||
'@backstage/plugin-devtools': patch
|
||||
'@backstage/plugin-techdocs': patch
|
||||
'@backstage/plugin-catalog': patch
|
||||
'@backstage/plugin-search': patch
|
||||
'@backstage/plugin-home': patch
|
||||
'@backstage/plugin-app': patch
|
||||
'@backstage/plugin-org': patch
|
||||
---
|
||||
|
||||
Remove unnecessary use of `compatWrapper` and `convertLegacyRouteRef`(s) for the new frontend system.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
---
|
||||
|
||||
Properly create workspace in OS temporary directory for `generate-patch` command
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-react': patch
|
||||
---
|
||||
|
||||
Fixed bug where custom `review.name` values were incorrectly formatted by `startCase`, preserving them exactly as written.
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
'@backstage/plugin-scaffolder-node': patch
|
||||
'@backstage/repo-tools': patch
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Bump to tar v7
|
||||
@@ -1,37 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': minor
|
||||
---
|
||||
|
||||
**Breaking change** The `Cell` component has been refactored to be a generic wrapper component that accepts `children` for custom cell content. The text-specific functionality (previously part of `Cell`) has been moved to a new `CellText` component.
|
||||
|
||||
### Migration Guide
|
||||
|
||||
If you were using `Cell` with text-specific props (`title`, `description`, `leadingIcon`, `href`), you need to update your code to use `CellText` instead:
|
||||
|
||||
**Before:**
|
||||
|
||||
```tsx
|
||||
<Cell
|
||||
title="My Title"
|
||||
description="My description"
|
||||
leadingIcon={<Icon />}
|
||||
href="/path"
|
||||
/>
|
||||
```
|
||||
|
||||
**After:**
|
||||
|
||||
```tsx
|
||||
<CellText
|
||||
title="My Title"
|
||||
description="My description"
|
||||
leadingIcon={<Icon />}
|
||||
href="/path"
|
||||
/>
|
||||
```
|
||||
|
||||
For custom cell content, use the new generic `Cell` component:
|
||||
|
||||
```tsx
|
||||
<Cell>{/* Your custom content */}</Cell>
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
'@backstage/ui': minor
|
||||
---
|
||||
|
||||
**BREAKING (CSS)**: Changed CSS selectors for `ButtonIcon` and `ButtonLink` components. Custom styles targeting `.bui-Button` to style these components must be updated to use `.bui-ButtonIcon` or `.bui-ButtonLink` respectively.
|
||||
|
||||
```diff
|
||||
-/* This no longer styles ButtonIcon or ButtonLink */
|
||||
-.bui-Button[data-variant="primary"] { ... }
|
||||
+/* Use component-specific selectors */
|
||||
+.bui-ButtonIcon[data-variant="primary"] { ... }
|
||||
+.bui-ButtonLink[data-variant="primary"] { ... }
|
||||
```
|
||||
|
||||
Affected components: ButtonIcon, ButtonLink
|
||||
+188
-210
@@ -2,233 +2,211 @@
|
||||
"mode": "pre",
|
||||
"tag": "next",
|
||||
"initialVersions": {
|
||||
"example-app": "0.2.115",
|
||||
"@backstage/app-defaults": "1.7.2",
|
||||
"example-app-next": "0.0.29",
|
||||
"app-next-example-plugin": "0.0.29",
|
||||
"example-backend": "0.0.44",
|
||||
"@backstage/backend-app-api": "1.3.0",
|
||||
"@backstage/backend-defaults": "0.13.1",
|
||||
"@backstage/backend-dev-utils": "0.1.5",
|
||||
"@backstage/backend-dynamic-feature-service": "0.7.6",
|
||||
"@backstage/backend-openapi-utils": "0.6.3",
|
||||
"@backstage/backend-plugin-api": "1.5.0",
|
||||
"@backstage/backend-test-utils": "1.10.0",
|
||||
"example-app": "0.2.117",
|
||||
"@backstage/app-defaults": "1.7.4",
|
||||
"example-app-next": "0.0.31",
|
||||
"app-next-example-plugin": "0.0.31",
|
||||
"example-backend": "0.0.46",
|
||||
"@backstage/backend-app-api": "1.4.1",
|
||||
"@backstage/backend-defaults": "0.15.0",
|
||||
"@backstage/backend-dev-utils": "0.1.6",
|
||||
"@backstage/backend-dynamic-feature-service": "0.7.8",
|
||||
"@backstage/backend-openapi-utils": "0.6.5",
|
||||
"@backstage/backend-plugin-api": "1.6.1",
|
||||
"@backstage/backend-test-utils": "1.10.3",
|
||||
"@backstage/catalog-client": "1.12.1",
|
||||
"@backstage/catalog-model": "1.7.6",
|
||||
"@backstage/cli": "0.34.5",
|
||||
"@backstage/cli-common": "0.1.15",
|
||||
"@backstage/cli-node": "0.2.15",
|
||||
"@backstage/codemods": "0.1.52",
|
||||
"@backstage/cli": "0.35.2",
|
||||
"@backstage/cli-common": "0.1.17",
|
||||
"@backstage/cli-node": "0.2.16",
|
||||
"@backstage/codemods": "0.1.53",
|
||||
"@backstage/config": "1.3.6",
|
||||
"@backstage/config-loader": "1.10.6",
|
||||
"@backstage/core-app-api": "1.19.2",
|
||||
"@backstage/core-compat-api": "0.5.4",
|
||||
"@backstage/core-components": "0.18.3",
|
||||
"@backstage/core-plugin-api": "1.12.0",
|
||||
"@backstage/create-app": "0.7.6",
|
||||
"@backstage/dev-utils": "1.1.17",
|
||||
"e2e-test": "0.2.34",
|
||||
"@backstage/config-loader": "1.10.7",
|
||||
"@backstage/core-app-api": "1.19.3",
|
||||
"@backstage/core-compat-api": "0.5.6",
|
||||
"@backstage/core-components": "0.18.5",
|
||||
"@backstage/core-plugin-api": "1.12.1",
|
||||
"@backstage/create-app": "0.7.8",
|
||||
"@backstage/dev-utils": "1.1.19",
|
||||
"e2e-test": "0.2.36",
|
||||
"@backstage/e2e-test-utils": "0.1.1",
|
||||
"@backstage/errors": "1.2.7",
|
||||
"@backstage/eslint-plugin": "0.2.0",
|
||||
"@backstage/frontend-app-api": "0.13.2",
|
||||
"@backstage/frontend-defaults": "0.3.3",
|
||||
"@backstage/frontend-dynamic-feature-loader": "0.1.7",
|
||||
"@internal/frontend": "0.0.15",
|
||||
"@backstage/frontend-plugin-api": "0.13.0",
|
||||
"@backstage/frontend-test-utils": "0.4.1",
|
||||
"@backstage/integration": "1.18.2",
|
||||
"@backstage/frontend-app-api": "0.14.0",
|
||||
"@backstage/frontend-defaults": "0.3.5",
|
||||
"@backstage/frontend-dynamic-feature-loader": "0.1.8",
|
||||
"@internal/frontend": "0.0.16",
|
||||
"@backstage/frontend-plugin-api": "0.13.3",
|
||||
"@backstage/frontend-test-utils": "0.4.3",
|
||||
"@backstage/integration": "1.19.2",
|
||||
"@backstage/integration-aws-node": "0.1.19",
|
||||
"@backstage/integration-react": "1.2.12",
|
||||
"@backstage/integration-react": "1.2.14",
|
||||
"@internal/opaque": "0.0.1",
|
||||
"@backstage/release-manifests": "0.0.13",
|
||||
"@backstage/repo-tools": "0.16.0",
|
||||
"@internal/scaffolder": "0.0.15",
|
||||
"@techdocs/cli": "1.10.2",
|
||||
"techdocs-cli-embedded-app": "0.2.114",
|
||||
"@backstage/test-utils": "1.7.13",
|
||||
"@backstage/theme": "0.7.0",
|
||||
"@backstage/repo-tools": "0.16.2",
|
||||
"@internal/scaffolder": "0.0.17",
|
||||
"@techdocs/cli": "1.10.4",
|
||||
"techdocs-cli-embedded-app": "0.2.116",
|
||||
"@backstage/test-utils": "1.7.14",
|
||||
"@backstage/theme": "0.7.1",
|
||||
"@backstage/types": "1.2.2",
|
||||
"@backstage/ui": "0.9.0",
|
||||
"@backstage/ui": "0.11.0",
|
||||
"@backstage/version-bridge": "1.0.11",
|
||||
"yarn-plugin-backstage": "0.0.7",
|
||||
"@backstage/plugin-api-docs": "0.13.1",
|
||||
"yarn-plugin-backstage": "0.0.8",
|
||||
"@backstage/plugin-api-docs": "0.13.3",
|
||||
"@backstage/plugin-api-docs-module-protoc-gen-doc": "0.1.10",
|
||||
"@backstage/plugin-app": "0.3.2",
|
||||
"@backstage/plugin-app-backend": "0.5.8",
|
||||
"@backstage/plugin-app-node": "0.1.39",
|
||||
"@backstage/plugin-app-visualizer": "0.1.25",
|
||||
"@backstage/plugin-auth": "0.1.2",
|
||||
"@backstage/plugin-auth-backend": "0.25.6",
|
||||
"@backstage/plugin-auth-backend-module-atlassian-provider": "0.4.9",
|
||||
"@backstage/plugin-auth-backend-module-auth0-provider": "0.2.9",
|
||||
"@backstage/plugin-auth-backend-module-aws-alb-provider": "0.4.9",
|
||||
"@backstage/plugin-auth-backend-module-azure-easyauth-provider": "0.2.14",
|
||||
"@backstage/plugin-auth-backend-module-bitbucket-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-bitbucket-server-provider": "0.2.9",
|
||||
"@backstage/plugin-auth-backend-module-cloudflare-access-provider": "0.4.9",
|
||||
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "0.4.9",
|
||||
"@backstage/plugin-auth-backend-module-github-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-gitlab-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-google-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-guest-provider": "0.2.14",
|
||||
"@backstage/plugin-auth-backend-module-microsoft-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-oauth2-provider": "0.4.9",
|
||||
"@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "0.2.14",
|
||||
"@backstage/plugin-auth-backend-module-oidc-provider": "0.4.9",
|
||||
"@backstage/plugin-auth-backend-module-okta-provider": "0.2.9",
|
||||
"@backstage/plugin-auth-backend-module-onelogin-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-openshift-provider": "0.1.2",
|
||||
"@backstage/plugin-auth-backend-module-pinniped-provider": "0.3.9",
|
||||
"@backstage/plugin-auth-backend-module-vmware-cloud-provider": "0.5.9",
|
||||
"@backstage/plugin-auth-node": "0.6.9",
|
||||
"@backstage/plugin-auth-react": "0.1.21",
|
||||
"@backstage/plugin-bitbucket-cloud-common": "0.3.4",
|
||||
"@backstage/plugin-catalog": "1.32.0",
|
||||
"@backstage/plugin-catalog-backend": "3.2.0",
|
||||
"@backstage/plugin-catalog-backend-module-aws": "0.4.17",
|
||||
"@backstage/plugin-catalog-backend-module-azure": "0.3.11",
|
||||
"@backstage/plugin-catalog-backend-module-backstage-openapi": "0.5.8",
|
||||
"@backstage/plugin-catalog-backend-module-bitbucket-cloud": "0.5.5",
|
||||
"@backstage/plugin-catalog-backend-module-bitbucket-server": "0.5.5",
|
||||
"@backstage/plugin-catalog-backend-module-gcp": "0.3.14",
|
||||
"@backstage/plugin-catalog-backend-module-gerrit": "0.3.8",
|
||||
"@backstage/plugin-catalog-backend-module-gitea": "0.1.6",
|
||||
"@backstage/plugin-catalog-backend-module-github": "0.11.2",
|
||||
"@backstage/plugin-catalog-backend-module-github-org": "0.3.16",
|
||||
"@backstage/plugin-catalog-backend-module-gitlab": "0.7.5",
|
||||
"@backstage/plugin-catalog-backend-module-gitlab-org": "0.2.15",
|
||||
"@backstage/plugin-catalog-backend-module-incremental-ingestion": "0.7.6",
|
||||
"@backstage/plugin-catalog-backend-module-ldap": "0.12.0",
|
||||
"@backstage/plugin-catalog-backend-module-logs": "0.1.16",
|
||||
"@backstage/plugin-catalog-backend-module-msgraph": "0.8.2",
|
||||
"@backstage/plugin-catalog-backend-module-openapi": "0.2.16",
|
||||
"@backstage/plugin-catalog-backend-module-puppetdb": "0.2.16",
|
||||
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "0.2.14",
|
||||
"@backstage/plugin-catalog-backend-module-unprocessed": "0.6.6",
|
||||
"@backstage/plugin-app": "0.3.4",
|
||||
"@backstage/plugin-app-backend": "0.5.10",
|
||||
"@backstage/plugin-app-node": "0.1.41",
|
||||
"@backstage/plugin-app-react": "0.1.0",
|
||||
"@backstage/plugin-app-visualizer": "0.1.27",
|
||||
"@backstage/plugin-auth": "0.1.4",
|
||||
"@backstage/plugin-auth-backend": "0.26.0",
|
||||
"@backstage/plugin-auth-backend-module-atlassian-provider": "0.4.10",
|
||||
"@backstage/plugin-auth-backend-module-auth0-provider": "0.2.10",
|
||||
"@backstage/plugin-auth-backend-module-aws-alb-provider": "0.4.11",
|
||||
"@backstage/plugin-auth-backend-module-azure-easyauth-provider": "0.2.15",
|
||||
"@backstage/plugin-auth-backend-module-bitbucket-provider": "0.3.10",
|
||||
"@backstage/plugin-auth-backend-module-bitbucket-server-provider": "0.2.10",
|
||||
"@backstage/plugin-auth-backend-module-cloudflare-access-provider": "0.4.10",
|
||||
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "0.4.10",
|
||||
"@backstage/plugin-auth-backend-module-github-provider": "0.4.0",
|
||||
"@backstage/plugin-auth-backend-module-gitlab-provider": "0.3.10",
|
||||
"@backstage/plugin-auth-backend-module-google-provider": "0.3.10",
|
||||
"@backstage/plugin-auth-backend-module-guest-provider": "0.2.15",
|
||||
"@backstage/plugin-auth-backend-module-microsoft-provider": "0.3.10",
|
||||
"@backstage/plugin-auth-backend-module-oauth2-provider": "0.4.10",
|
||||
"@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "0.2.15",
|
||||
"@backstage/plugin-auth-backend-module-oidc-provider": "0.4.11",
|
||||
"@backstage/plugin-auth-backend-module-okta-provider": "0.2.10",
|
||||
"@backstage/plugin-auth-backend-module-onelogin-provider": "0.3.10",
|
||||
"@backstage/plugin-auth-backend-module-openshift-provider": "0.1.3",
|
||||
"@backstage/plugin-auth-backend-module-pinniped-provider": "0.3.10",
|
||||
"@backstage/plugin-auth-backend-module-vmware-cloud-provider": "0.5.10",
|
||||
"@backstage/plugin-auth-node": "0.6.11",
|
||||
"@backstage/plugin-auth-react": "0.1.23",
|
||||
"@backstage/plugin-bitbucket-cloud-common": "0.3.6",
|
||||
"@backstage/plugin-catalog": "1.32.2",
|
||||
"@backstage/plugin-catalog-backend": "3.3.1",
|
||||
"@backstage/plugin-catalog-backend-module-aws": "0.4.19",
|
||||
"@backstage/plugin-catalog-backend-module-azure": "0.3.13",
|
||||
"@backstage/plugin-catalog-backend-module-backstage-openapi": "0.5.10",
|
||||
"@backstage/plugin-catalog-backend-module-bitbucket-cloud": "0.5.7",
|
||||
"@backstage/plugin-catalog-backend-module-bitbucket-server": "0.5.7",
|
||||
"@backstage/plugin-catalog-backend-module-gcp": "0.3.15",
|
||||
"@backstage/plugin-catalog-backend-module-gerrit": "0.3.10",
|
||||
"@backstage/plugin-catalog-backend-module-gitea": "0.1.8",
|
||||
"@backstage/plugin-catalog-backend-module-github": "0.12.1",
|
||||
"@backstage/plugin-catalog-backend-module-github-org": "0.3.18",
|
||||
"@backstage/plugin-catalog-backend-module-gitlab": "0.7.7",
|
||||
"@backstage/plugin-catalog-backend-module-gitlab-org": "0.2.17",
|
||||
"@backstage/plugin-catalog-backend-module-incremental-ingestion": "0.7.8",
|
||||
"@backstage/plugin-catalog-backend-module-ldap": "0.12.1",
|
||||
"@backstage/plugin-catalog-backend-module-logs": "0.1.18",
|
||||
"@backstage/plugin-catalog-backend-module-msgraph": "0.8.4",
|
||||
"@backstage/plugin-catalog-backend-module-openapi": "0.2.18",
|
||||
"@backstage/plugin-catalog-backend-module-puppetdb": "0.2.18",
|
||||
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "0.2.16",
|
||||
"@backstage/plugin-catalog-backend-module-unprocessed": "0.6.7",
|
||||
"@backstage/plugin-catalog-common": "1.1.7",
|
||||
"@backstage/plugin-catalog-graph": "0.5.3",
|
||||
"@backstage/plugin-catalog-import": "0.13.7",
|
||||
"@backstage/plugin-catalog-node": "1.20.0",
|
||||
"@backstage/plugin-catalog-react": "1.21.3",
|
||||
"@backstage/plugin-catalog-unprocessed-entities": "0.2.23",
|
||||
"@backstage/plugin-catalog-unprocessed-entities-common": "0.0.11",
|
||||
"@backstage/plugin-config-schema": "0.1.74",
|
||||
"@backstage/plugin-devtools": "0.1.33",
|
||||
"@backstage/plugin-devtools-backend": "0.5.11",
|
||||
"@backstage/plugin-devtools-common": "0.1.19",
|
||||
"@backstage/plugin-events-backend": "0.5.8",
|
||||
"@backstage/plugin-events-backend-module-aws-sqs": "0.4.17",
|
||||
"@backstage/plugin-events-backend-module-azure": "0.2.26",
|
||||
"@backstage/plugin-events-backend-module-bitbucket-cloud": "0.2.26",
|
||||
"@backstage/plugin-events-backend-module-bitbucket-server": "0.1.7",
|
||||
"@backstage/plugin-events-backend-module-gerrit": "0.2.26",
|
||||
"@backstage/plugin-events-backend-module-github": "0.4.6",
|
||||
"@backstage/plugin-events-backend-module-gitlab": "0.3.7",
|
||||
"@backstage/plugin-events-backend-module-google-pubsub": "0.1.6",
|
||||
"@backstage/plugin-events-backend-module-kafka": "0.1.5",
|
||||
"@backstage/plugin-events-backend-test-utils": "0.1.50",
|
||||
"@backstage/plugin-events-node": "0.4.17",
|
||||
"@internal/plugin-todo-list": "1.0.45",
|
||||
"@internal/plugin-todo-list-backend": "1.0.45",
|
||||
"@backstage/plugin-catalog-graph": "0.5.6",
|
||||
"@backstage/plugin-catalog-import": "0.13.9",
|
||||
"@backstage/plugin-catalog-node": "1.20.1",
|
||||
"@backstage/plugin-catalog-react": "1.21.5",
|
||||
"@backstage/plugin-catalog-unprocessed-entities": "0.2.25",
|
||||
"@backstage/plugin-catalog-unprocessed-entities-common": "0.0.12",
|
||||
"@backstage/plugin-config-schema": "0.1.76",
|
||||
"@backstage/plugin-devtools": "0.1.35",
|
||||
"@backstage/plugin-devtools-backend": "0.5.13",
|
||||
"@backstage/plugin-devtools-common": "0.1.21",
|
||||
"@backstage/plugin-devtools-react": "0.1.0",
|
||||
"@backstage/plugin-events-backend": "0.5.10",
|
||||
"@backstage/plugin-events-backend-module-aws-sqs": "0.4.18",
|
||||
"@backstage/plugin-events-backend-module-azure": "0.2.27",
|
||||
"@backstage/plugin-events-backend-module-bitbucket-cloud": "0.2.27",
|
||||
"@backstage/plugin-events-backend-module-bitbucket-server": "0.1.8",
|
||||
"@backstage/plugin-events-backend-module-gerrit": "0.2.27",
|
||||
"@backstage/plugin-events-backend-module-github": "0.4.8",
|
||||
"@backstage/plugin-events-backend-module-gitlab": "0.3.8",
|
||||
"@backstage/plugin-events-backend-module-google-pubsub": "0.1.7",
|
||||
"@backstage/plugin-events-backend-module-kafka": "0.3.0",
|
||||
"@backstage/plugin-events-backend-test-utils": "0.1.51",
|
||||
"@backstage/plugin-events-node": "0.4.18",
|
||||
"@internal/plugin-todo-list": "1.0.47",
|
||||
"@internal/plugin-todo-list-backend": "1.0.46",
|
||||
"@internal/plugin-todo-list-common": "1.0.28",
|
||||
"@backstage/plugin-gateway-backend": "1.1.0",
|
||||
"@backstage/plugin-home": "0.8.14",
|
||||
"@backstage/plugin-home-react": "0.1.32",
|
||||
"@backstage/plugin-kubernetes": "0.12.13",
|
||||
"@backstage/plugin-kubernetes-backend": "0.20.4",
|
||||
"@backstage/plugin-kubernetes-cluster": "0.0.31",
|
||||
"@backstage/plugin-kubernetes-common": "0.9.8",
|
||||
"@backstage/plugin-kubernetes-node": "0.3.6",
|
||||
"@backstage/plugin-kubernetes-react": "0.5.13",
|
||||
"@backstage/plugin-mcp-actions-backend": "0.1.5",
|
||||
"@backstage/plugin-mui-to-bui": "0.2.1",
|
||||
"@backstage/plugin-notifications": "0.5.11",
|
||||
"@backstage/plugin-notifications-backend": "0.6.0",
|
||||
"@backstage/plugin-notifications-backend-module-email": "0.3.16",
|
||||
"@backstage/plugin-notifications-backend-module-slack": "0.2.1",
|
||||
"@backstage/plugin-gateway-backend": "1.1.1",
|
||||
"@backstage/plugin-home": "0.9.0",
|
||||
"@backstage/plugin-home-react": "0.1.34",
|
||||
"@backstage/plugin-kubernetes": "0.12.15",
|
||||
"@backstage/plugin-kubernetes-backend": "0.21.0",
|
||||
"@backstage/plugin-kubernetes-cluster": "0.0.33",
|
||||
"@backstage/plugin-kubernetes-common": "0.9.9",
|
||||
"@backstage/plugin-kubernetes-node": "0.4.0",
|
||||
"@backstage/plugin-kubernetes-react": "0.5.15",
|
||||
"@backstage/plugin-mcp-actions-backend": "0.1.7",
|
||||
"@backstage/plugin-mui-to-bui": "0.2.3",
|
||||
"@backstage/plugin-notifications": "0.5.13",
|
||||
"@backstage/plugin-notifications-backend": "0.6.1",
|
||||
"@backstage/plugin-notifications-backend-module-email": "0.3.17",
|
||||
"@backstage/plugin-notifications-backend-module-slack": "0.3.0",
|
||||
"@backstage/plugin-notifications-common": "0.2.0",
|
||||
"@backstage/plugin-notifications-node": "0.2.21",
|
||||
"@backstage/plugin-org": "0.6.46",
|
||||
"@backstage/plugin-org-react": "0.1.44",
|
||||
"@backstage/plugin-permission-backend": "0.7.6",
|
||||
"@backstage/plugin-permission-backend-module-allow-all-policy": "0.2.14",
|
||||
"@backstage/plugin-permission-common": "0.9.3",
|
||||
"@backstage/plugin-permission-node": "0.10.6",
|
||||
"@backstage/plugin-permission-react": "0.4.38",
|
||||
"@backstage/plugin-proxy-backend": "0.6.8",
|
||||
"@backstage/plugin-proxy-node": "0.1.10",
|
||||
"@backstage/plugin-scaffolder": "1.34.3",
|
||||
"@backstage/plugin-scaffolder-backend": "3.0.1",
|
||||
"@backstage/plugin-scaffolder-backend-module-azure": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-bitbucket": "0.3.16",
|
||||
"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-bitbucket-server": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-confluence-to-markdown": "0.3.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.3.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-gcp": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-gerrit": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-gitea": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-github": "0.9.2",
|
||||
"@backstage/plugin-scaffolder-backend-module-gitlab": "0.10.0",
|
||||
"@backstage/plugin-scaffolder-backend-module-notifications": "0.1.16",
|
||||
"@backstage/plugin-scaffolder-backend-module-rails": "0.5.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-sentry": "0.2.15",
|
||||
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.4.16",
|
||||
"@backstage/plugin-scaffolder-common": "1.7.3",
|
||||
"@backstage/plugin-scaffolder-node": "0.12.1",
|
||||
"@backstage/plugin-scaffolder-node-test-utils": "0.3.5",
|
||||
"@backstage/plugin-scaffolder-react": "1.19.3",
|
||||
"@backstage/plugin-search": "1.5.0",
|
||||
"@backstage/plugin-search-backend": "2.0.8",
|
||||
"@backstage/plugin-search-backend-module-catalog": "0.3.10",
|
||||
"@backstage/plugin-search-backend-module-elasticsearch": "1.7.8",
|
||||
"@backstage/plugin-search-backend-module-explore": "0.3.9",
|
||||
"@backstage/plugin-search-backend-module-pg": "0.5.50",
|
||||
"@backstage/plugin-search-backend-module-stack-overflow-collator": "0.3.15",
|
||||
"@backstage/plugin-search-backend-module-techdocs": "0.4.8",
|
||||
"@backstage/plugin-search-backend-node": "1.3.17",
|
||||
"@backstage/plugin-notifications-node": "0.2.22",
|
||||
"@backstage/plugin-org": "0.6.48",
|
||||
"@backstage/plugin-org-react": "0.1.46",
|
||||
"@backstage/plugin-permission-backend": "0.7.7",
|
||||
"@backstage/plugin-permission-backend-module-allow-all-policy": "0.2.15",
|
||||
"@backstage/plugin-permission-common": "0.9.4",
|
||||
"@backstage/plugin-permission-node": "0.10.8",
|
||||
"@backstage/plugin-permission-react": "0.4.39",
|
||||
"@backstage/plugin-proxy-backend": "0.6.9",
|
||||
"@backstage/plugin-proxy-node": "0.1.11",
|
||||
"@backstage/plugin-scaffolder": "1.35.1",
|
||||
"@backstage/plugin-scaffolder-backend": "3.1.1",
|
||||
"@backstage/plugin-scaffolder-backend-module-azure": "0.2.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-bitbucket": "0.3.18",
|
||||
"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud": "0.3.1",
|
||||
"@backstage/plugin-scaffolder-backend-module-bitbucket-server": "0.2.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-confluence-to-markdown": "0.3.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.3.19",
|
||||
"@backstage/plugin-scaffolder-backend-module-gcp": "0.2.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-gerrit": "0.2.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-gitea": "0.2.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-github": "0.9.4",
|
||||
"@backstage/plugin-scaffolder-backend-module-gitlab": "0.11.1",
|
||||
"@backstage/plugin-scaffolder-backend-module-notifications": "0.1.18",
|
||||
"@backstage/plugin-scaffolder-backend-module-rails": "0.5.17",
|
||||
"@backstage/plugin-scaffolder-backend-module-sentry": "0.3.0",
|
||||
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.4.18",
|
||||
"@backstage/plugin-scaffolder-common": "1.7.5",
|
||||
"@backstage/plugin-scaffolder-node": "0.12.3",
|
||||
"@backstage/plugin-scaffolder-node-test-utils": "0.3.7",
|
||||
"@backstage/plugin-scaffolder-react": "1.19.5",
|
||||
"@backstage/plugin-search": "1.5.3",
|
||||
"@backstage/plugin-search-backend": "2.0.10",
|
||||
"@backstage/plugin-search-backend-module-catalog": "0.3.11",
|
||||
"@backstage/plugin-search-backend-module-elasticsearch": "1.7.9",
|
||||
"@backstage/plugin-search-backend-module-explore": "0.3.10",
|
||||
"@backstage/plugin-search-backend-module-pg": "0.5.51",
|
||||
"@backstage/plugin-search-backend-module-stack-overflow-collator": "0.3.16",
|
||||
"@backstage/plugin-search-backend-module-techdocs": "0.4.10",
|
||||
"@backstage/plugin-search-backend-node": "1.4.0",
|
||||
"@backstage/plugin-search-common": "1.2.21",
|
||||
"@backstage/plugin-search-react": "1.10.0",
|
||||
"@backstage/plugin-signals": "0.0.25",
|
||||
"@backstage/plugin-signals-backend": "0.3.10",
|
||||
"@backstage/plugin-signals-node": "0.1.26",
|
||||
"@backstage/plugin-signals-react": "0.0.17",
|
||||
"@backstage/plugin-techdocs": "1.16.0",
|
||||
"@backstage/plugin-techdocs-addons-test-utils": "1.1.2",
|
||||
"@backstage/plugin-techdocs-backend": "2.1.2",
|
||||
"@backstage/plugin-search-react": "1.10.2",
|
||||
"@backstage/plugin-signals": "0.0.27",
|
||||
"@backstage/plugin-signals-backend": "0.3.11",
|
||||
"@backstage/plugin-signals-node": "0.1.27",
|
||||
"@backstage/plugin-signals-react": "0.0.18",
|
||||
"@backstage/plugin-techdocs": "1.16.2",
|
||||
"@backstage/plugin-techdocs-addons-test-utils": "2.0.1",
|
||||
"@backstage/plugin-techdocs-backend": "2.1.4",
|
||||
"@backstage/plugin-techdocs-common": "0.1.1",
|
||||
"@backstage/plugin-techdocs-module-addons-contrib": "1.1.30",
|
||||
"@backstage/plugin-techdocs-node": "1.13.9",
|
||||
"@backstage/plugin-techdocs-react": "1.3.5",
|
||||
"@backstage/plugin-user-settings": "0.8.29",
|
||||
"@backstage/plugin-user-settings-backend": "0.3.8",
|
||||
"@backstage/plugin-techdocs-module-addons-contrib": "1.1.32",
|
||||
"@backstage/plugin-techdocs-node": "1.14.0",
|
||||
"@backstage/plugin-techdocs-react": "1.3.7",
|
||||
"@backstage/plugin-user-settings": "0.8.31",
|
||||
"@backstage/plugin-user-settings-backend": "0.3.10",
|
||||
"@backstage/plugin-user-settings-common": "0.0.1"
|
||||
},
|
||||
"changesets": [
|
||||
"chatty-sides-wear",
|
||||
"chilly-hotels-walk",
|
||||
"clean-toys-reply",
|
||||
"famous-jars-lose",
|
||||
"fine-eagles-sleep",
|
||||
"flat-pillows-rush",
|
||||
"four-peaches-train",
|
||||
"fruity-rivers-arrive",
|
||||
"gentle-trains-juggle",
|
||||
"happy-bottles-invite",
|
||||
"kind-hoops-double",
|
||||
"legal-cloths-spend",
|
||||
"loose-pets-slide",
|
||||
"lucky-days-hug",
|
||||
"many-planes-join",
|
||||
"metal-boxes-laugh",
|
||||
"metal-humans-lose",
|
||||
"quiet-hats-sleep",
|
||||
"short-groups-knock",
|
||||
"slick-books-sleep",
|
||||
"spicy-teeth-study",
|
||||
"stale-eagles-rush",
|
||||
"twenty-ducks-relate"
|
||||
]
|
||||
"changesets": []
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed client-side navigation for container components by wrapping the container (not individual items) in RouterProvider. Components now conditionally provide routing context only when children have internal links, removing the Router context requirement when not needed. This also removes the need to wrap these components in MemoryRouter during tests when they are not using the `href` prop.
|
||||
|
||||
Additionally, when multiple tabs match the current URL via prefix matching, the tab with the most specific path (highest segment count) is now selected. For example, with URL `/catalog/users/john`, a tab with path `/catalog/users` is now selected over a tab with path `/catalog`.
|
||||
|
||||
Affected components: Tabs, Tab, TagGroup, Tag, Menu, MenuItem, MenuAutocomplete
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
'@backstage/ui': minor
|
||||
---
|
||||
|
||||
**BREAKING**: The `cell` and `header` properties in `ColumnConfig` now return `ReactElement` instead of `ReactNode`.
|
||||
|
||||
This fixes an issue where React Aria's Collection component would inject an `id` prop into Fragment wrappers, causing "Invalid prop `id` supplied to `React.Fragment`" errors on render.
|
||||
|
||||
Migration:
|
||||
|
||||
```diff
|
||||
const columns: ColumnConfig<MyItem>[] = [
|
||||
{
|
||||
id: 'name',
|
||||
label: 'Name',
|
||||
- cell: (item) => item.name,
|
||||
+ cell: (item) => <CellText title={item.name} />,
|
||||
- header: () => 'Name',
|
||||
+ header: () => <Column>Name</Column>,
|
||||
},
|
||||
];
|
||||
```
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Migrate audit events reference docs to http://backstage.io/docs.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/frontend-test-utils': patch
|
||||
---
|
||||
|
||||
Fixed Router deprecation warning and switched to using new `RouterBlueprint` from `@backstage/plugin-app-api`.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/cli-common': patch
|
||||
'@backstage/create-app': patch
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Add proxy configuration from env-vars to create-app tasks
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/theme': patch
|
||||
---
|
||||
|
||||
Added a `themeName` prop to `UnifiedThemeProvider`, enabling Backstage UI `data-theme-name` CSS attribute to be set based on active theme.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Add i18n support for LogViewer search control
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
Improve sidebars (nav/TOC) layout and scrolling
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Added row selection support with visual state styling for hover, selected, and pressed states. Fixed checkbox rendering to only show for multi-select toggle mode.
|
||||
|
||||
Affected components: Table, TableHeader, Row, Column
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-github-provider': minor
|
||||
---
|
||||
|
||||
Added the `userIdMatchingUserEntityAnnotation` sign-in resolver that matches users by their GitHub user ID.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-devtools': patch
|
||||
---
|
||||
|
||||
Fixes an issue where a user lacking permission to schedule tasks can now easily see the issue through a custom icon + tooltip.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed `useTable` hook to prioritize `providedRowCount` over data length for accurate row count in server-side pagination scenarios.
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
'@backstage/frontend-plugin-api': patch
|
||||
'@backstage/core-plugin-api': patch
|
||||
---
|
||||
|
||||
Reversed the relationship between the old `@backstage/core-plugin-api` and the new `@backstage/frontend-plugin-api`. Previously, the a lot of API definitions and utilities where defined in the old and re-exported from the old, but this change flips that around so that they now reside in the new package and are re-exported from the old. The external API of both packages remain the same, but this is a step towards being able to add further compatibility with the new frontend system built into the old.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed components to not require a Router context when rendering without internal links.
|
||||
|
||||
Affected components: Link, ButtonLink, Row
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs-backend': patch
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
The `techdocs` config is now marked as optional.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed React 17 compatibility by using `useId` from `react-aria` instead of the built-in React hook which is only available in React 18+.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed Table column sorting indicator to show up arrow when no sort is active, correctly indicating that clicking will sort ascending.
|
||||
|
||||
Affected components: Column
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-gitlab-provider': minor
|
||||
'@backstage/plugin-catalog-backend-module-gitlab': minor
|
||||
---
|
||||
|
||||
Added the `{gitlab-integration-host}/user-id` annotation to store GitLab's user ID (immutable) in user entities. Also includes addition of the `userIdMatchingUserEntityAnnotation` sign-in resolver that matches users by the new ID.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Migrate audit events reference docs to http://backstage.io/docs.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
description: General project guidelines for Backstage development
|
||||
globs:
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
Follow the instructions at /.github/copilot-instructions.md
|
||||
+2
-2
@@ -10,7 +10,7 @@ yarn.lock @backstage/maintainers @backst
|
||||
/.changeset @backstage/operations-maintainers
|
||||
/.changeset/*.md
|
||||
/.github @backstage/operations-maintainers
|
||||
/.github/vale @backstage/documentation-maintainers
|
||||
/.github/vale @backstage/maintainers @backstage/documentation-maintainers
|
||||
/.patches @backstage/operations-maintainers
|
||||
/beps/0001-notifications-system @backstage/maintainers @backstage/notifications-maintainers
|
||||
/docs @backstage/maintainers @backstage/documentation-maintainers
|
||||
@@ -25,7 +25,7 @@ yarn.lock @backstage/maintainers @backst
|
||||
/docs/plugins/integrating-search-into-plugins.md @backstage/search-maintainers
|
||||
/docs/releases @backstage/operations-maintainers
|
||||
/docs/tooling @backstage/tooling-maintainers
|
||||
/microsite @backstage/documentation-maintainers
|
||||
/microsite @backstage/maintainers @backstage/documentation-maintainers
|
||||
/microsite/data/plugins @backstage/maintainers
|
||||
/microsite/static @backstage/maintainers @backstage/documentation-maintainers
|
||||
/packages @backstage/framework-maintainers
|
||||
|
||||
@@ -1,11 +1,22 @@
|
||||
This is a TypeScript project structured as a monorepo using Yarn workspaces.
|
||||
Backstage is an open platform for building developer portals. This is a TypeScript monorepo using Yarn workspaces.
|
||||
|
||||
## Key Directories
|
||||
|
||||
- `/packages`: Core framework packages (prefixed `@backstage/`)
|
||||
- `/plugins`: Plugin packages (prefixed `@backstage/plugin-*`)
|
||||
- `/packages/app` and `/packages/backend`: Example app for local development
|
||||
- `/packages/app-next`: Example app using the new frontend system (NFS)
|
||||
- `/docs`: Documentation files
|
||||
|
||||
Packages prefixed with `core-` (e.g., `@backstage/core-plugin-api`) are part of the old frontend system. Packages prefixed with `frontend-` (e.g., `@backstage/frontend-plugin-api`) are part of the new frontend system (NFS). Packages prefixed with `backend-` (e.g., `@backstage/backend-plugin-api`) are part of the backend system.
|
||||
|
||||
## Code Standards
|
||||
|
||||
The following files contain guidelines for the project:
|
||||
|
||||
- `/CONTRIBUTING.md`: comprehensive contribution guidelines.
|
||||
- `/STYLE.md`: guidelines for code style.
|
||||
- `/REVIEWING.md`: guidelines for pull requests.
|
||||
- `/REVIEWING.md`: guidelines for pull requests and writing changesets.
|
||||
- `/SECURITY.md`: guidelines for security.
|
||||
- `/docs/architecture-decisions/`: contains the architecture decisions for the project.
|
||||
|
||||
@@ -19,10 +30,12 @@ Before any of these commands can be run, you need to run `yarn install` in the p
|
||||
- Code formatting: Use `yarn prettier --write <path>` to format code.
|
||||
- Lint: Use `yarn lint --fix` in the project root to run the linter.
|
||||
- API reports: Before submitting a pull request with changes to any package in the workspace, run `yarn build:api-reports` in the project root to generate API reports for all packages.
|
||||
- Dev server: Use `yarn start` to run the example app locally (frontend on :3000, backend on :7007).
|
||||
- Create: Use `yarn new` to scaffold new plugins, packages, or modules.
|
||||
|
||||
You MUST NOT create a release by running `yarn changesets version` or `yarn release` as part of any changes. Releases are created by separate workflows.
|
||||
|
||||
All changes that affect the published version of packages in the `/packages` and `/plugins` directories must be accompanied by a changeset. See the guidelines in `/REVIEWING.md` for information on how to write good changesets. Changesets are stored in the `/.changeset` directory. Breaking changes must be accompanied by a `minor` version bump for packages that below version `1.0.0`, or a `major` version bump for packages that are at version `1.0.0` or higher.
|
||||
All changes that affect the published version of packages in the `/packages` and `/plugins` directories must be accompanied by a changeset. Only non-private packages require changesets. See the guidelines in `/CONTRIBUTING.md#creating-changesets` for information on how to write good changesets. Changesets are stored in the `/.changeset` directory. Breaking changes must be accompanied by a `minor` version bump for packages below version `1.0.0`, or a `major` version bump for packages at version `1.0.0` or higher.
|
||||
|
||||
Never update ESLint, Prettier, or TypeScript configuration files unless specifically requested.
|
||||
|
||||
|
||||
@@ -99,6 +99,7 @@ dataflow
|
||||
dataloader
|
||||
dayjs
|
||||
debounce
|
||||
debounced
|
||||
debounces
|
||||
debuggability
|
||||
declaratively
|
||||
@@ -268,6 +269,7 @@ maintainer's
|
||||
maintainership
|
||||
makefile
|
||||
Matomo
|
||||
matchers
|
||||
md
|
||||
memcache
|
||||
memoization
|
||||
@@ -522,6 +524,7 @@ transpile
|
||||
transpiled
|
||||
transpiler
|
||||
transpilers
|
||||
trixie
|
||||
truthy
|
||||
tsconfig
|
||||
TSDoc
|
||||
@@ -576,3 +579,4 @@ zoomable
|
||||
zsh
|
||||
resizable
|
||||
enums
|
||||
LLMs
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
comment-cache-key: ${{ steps.hash.outputs.COMMENT_FILE_HASH }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
disable-sudo: true
|
||||
egress-policy: block
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
- name: 'Download artifacts'
|
||||
# Fetch output (zip archive) from the workflow run that triggered this workflow.
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
script: |
|
||||
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
|
||||
@@ -99,7 +99,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
|
||||
- name: Fetch cached Manifests File
|
||||
id: cache
|
||||
@@ -115,13 +115,13 @@ jobs:
|
||||
with:
|
||||
issue-number: ${{ needs.setup.outputs.pr-number }}
|
||||
comment-author: 'github-actions[bot]'
|
||||
body-includes: API changes
|
||||
body-includes: api-breaking-changes-comment
|
||||
direction: last
|
||||
|
||||
- name: Create or Update Comment with API Changes
|
||||
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
|
||||
with:
|
||||
comment-id: ${{ steps.find-comment.outputs.comment-id }}
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
issue-number: ${{ needs.setup.outputs.pr-number }}
|
||||
body-path: comment.md
|
||||
edit-mode: replace
|
||||
|
||||
@@ -14,11 +14,11 @@ jobs:
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.action != 'closed' }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
# Fetch the commit that's merged into the base rather than the target ref
|
||||
# This will let us diff only the contents of the PR, without fetching more history
|
||||
@@ -27,19 +27,20 @@ jobs:
|
||||
run: git fetch --depth 1 origin ${{ github.base_ref }}
|
||||
|
||||
- name: setup-node
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: linux-v20
|
||||
cache-prefix: linux-v22
|
||||
|
||||
- name: breaking changes check
|
||||
run: |
|
||||
yarn backstage-repo-tools repo schema openapi diff --since origin/${{ github.base_ref }} > comment.md
|
||||
echo "<!-- api-breaking-changes-comment -->" >> comment.md
|
||||
|
||||
- name: clone artifacts to current directory
|
||||
run: |
|
||||
|
||||
@@ -13,11 +13,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
|
||||
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
|
||||
with:
|
||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
sync-labels: true
|
||||
|
||||
@@ -23,11 +23,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
# Fetch the commit that's merged into the base rather than the target ref
|
||||
# This will let us diff only the contents of the PR, without fetching more history
|
||||
|
||||
@@ -24,11 +24,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: '${{ github.event.pull_request.merge_commit_sha }}'
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
node generate.js ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} > message.txt
|
||||
|
||||
- name: Post Message
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
env:
|
||||
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
|
||||
with:
|
||||
|
||||
@@ -15,12 +15,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Stale check - base
|
||||
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
|
||||
uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
|
||||
with:
|
||||
stale-issue-message: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
operations-per-run: 100
|
||||
|
||||
- name: Stale check - bugs without repro
|
||||
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
|
||||
uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
|
||||
with:
|
||||
stale-issue-message: >
|
||||
This bug report has been automatically marked as stale because it has not had
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
name: Verify ${{ matrix.node-version }}
|
||||
steps:
|
||||
@@ -35,12 +35,12 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
name: Test ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
+12
-12
@@ -19,7 +19,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
env:
|
||||
CI: true
|
||||
@@ -28,14 +28,14 @@ jobs:
|
||||
name: Install ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
env:
|
||||
CI: true
|
||||
@@ -64,14 +64,14 @@ jobs:
|
||||
name: Verify ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
name: Test ${{ matrix.node-version }}
|
||||
services:
|
||||
@@ -203,14 +203,14 @@ jobs:
|
||||
|
||||
env:
|
||||
CI: true
|
||||
NODE_OPTIONS: --max-old-space-size=8192 --no-node-snapshot --experimental-vm-modules
|
||||
NODE_OPTIONS: --max-old-space-size=8192 --experimental-vm-modules
|
||||
INTEGRATION_TEST_GITHUB_TOKEN: ${{ secrets.INTEGRATION_TEST_GITHUB_TOKEN }}
|
||||
INTEGRATION_TEST_GITLAB_TOKEN: ${{ secrets.INTEGRATION_TEST_GITLAB_TOKEN }}
|
||||
INTEGRATION_TEST_BITBUCKET_TOKEN: ${{ secrets.INTEGRATION_TEST_BITBUCKET_TOKEN }}
|
||||
INTEGRATION_TEST_AZURE_TOKEN: ${{ secrets.INTEGRATION_TEST_AZURE_TOKEN }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: fetch master branch
|
||||
run: git fetch origin master
|
||||
|
||||
@@ -220,7 +220,7 @@ jobs:
|
||||
run: git fetch origin ${{ github.event.pull_request.base.ref }}
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
@@ -17,12 +17,12 @@ jobs:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
- name: Extract PR numbers from commit messages
|
||||
id: extract-pr-numbers
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
script: |
|
||||
@@ -89,14 +89,14 @@ jobs:
|
||||
|
||||
- name: Checkout master
|
||||
if: steps.extract-pr-numbers.outputs.has_pr_numbers == 'true'
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: master
|
||||
token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
|
||||
- name: Delete patch files
|
||||
if: steps.extract-pr-numbers.outputs.has_pr_numbers == 'true'
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
env:
|
||||
PR_NUMBERS: ${{ steps.extract-pr-numbers.outputs.pr_numbers }}
|
||||
REF_NAME: ${{ github.ref_name }}
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -16,22 +16,22 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [20.x]
|
||||
node-version: [22.x]
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
path: backstage
|
||||
ref: ${{ github.event.client_payload.version && env.RELEASE_VERSION || github.ref }}
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
working-directory: ./example-app
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
||||
@@ -23,12 +23,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: find latest release
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
id: find-release
|
||||
with:
|
||||
script: |
|
||||
@@ -54,31 +54,20 @@ jobs:
|
||||
result-encoding: string
|
||||
|
||||
- name: checkout latest release
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: refs/tags/${{ steps.find-release.outputs.result }}
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
|
||||
- name: build API reference
|
||||
run: yarn build:api-docs
|
||||
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: stable-reference
|
||||
path: docs/reference/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
# Use the lower-level cache actions for the success cache, so that we can store the cache even on failed builds
|
||||
- name: restore package-docs cache
|
||||
@@ -89,13 +78,13 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-v${{ matrix.node-version }}-package-docs-stable-
|
||||
|
||||
- name: build API reference (beta)
|
||||
- name: build API reference
|
||||
run: yarn backstage-repo-tools package-docs
|
||||
|
||||
- name: upload API reference (beta)
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: stable-reference-beta
|
||||
name: stable-reference
|
||||
path: type-docs/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
@@ -135,34 +124,23 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: checkout master
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
|
||||
- name: build API reference
|
||||
run: yarn build:api-docs
|
||||
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: next-reference
|
||||
path: docs/reference/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
# Use the lower-level cache actions for the success cache, so that we can store the cache even on failed builds
|
||||
- name: restore package-docs cache
|
||||
@@ -173,13 +151,13 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-v${{ matrix.node-version }}-package-docs-
|
||||
|
||||
- name: build API reference (beta)
|
||||
- name: build API reference
|
||||
run: yarn backstage-repo-tools package-docs
|
||||
|
||||
- name: upload API reference (beta)
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: next-reference-beta
|
||||
name: next-reference
|
||||
path: type-docs/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
@@ -240,19 +218,19 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
# Stable docs
|
||||
- name: checkout latest release
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: refs/tags/${{ needs.stable.outputs.release }}
|
||||
|
||||
@@ -260,12 +238,6 @@ jobs:
|
||||
run: yarn install --immutable
|
||||
working-directory: microsite
|
||||
|
||||
- name: download stable reference
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: stable-reference
|
||||
path: docs/reference
|
||||
|
||||
- name: download stable OpenAPI API docs
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
@@ -286,7 +258,7 @@ jobs:
|
||||
|
||||
# Next docs
|
||||
- name: checkout master
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
clean: false
|
||||
|
||||
@@ -294,12 +266,6 @@ jobs:
|
||||
run: yarn install --immutable
|
||||
working-directory: microsite
|
||||
|
||||
- name: download next reference
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: next-reference
|
||||
path: docs/reference
|
||||
|
||||
- name: download next OpenAPI API docs
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
@@ -317,19 +283,19 @@ jobs:
|
||||
|
||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: stable-reference-beta
|
||||
name: stable-reference
|
||||
path: microsite/build/api/stable/
|
||||
|
||||
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: next-reference-beta
|
||||
name: next-reference
|
||||
path: microsite/build/api/next/
|
||||
|
||||
- name: Check the build output
|
||||
run: ls microsite/build && ls microsite/build/storybook && ls microsite/build/api/stable && ls microsite/build/api/next
|
||||
|
||||
- name: Deploy both microsite and storybook to gh-pages
|
||||
uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 # v4.7.4
|
||||
uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: microsite/build
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
services:
|
||||
postgres18:
|
||||
@@ -68,10 +68,10 @@ jobs:
|
||||
INTEGRATION_TEST_AZURE_TOKEN: ${{ secrets.INTEGRATION_TEST_AZURE_TOKEN }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
@@ -147,11 +147,11 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x]
|
||||
node-version: [22.x]
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -16,13 +16,13 @@ jobs:
|
||||
if: github.repository == 'backstage/backstage'
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
# We need to checkout the `.github/ISSUE_TEMPLATE` for the advanced labeler action to be able to read the templates
|
||||
# While at it we might as well checkout all of `.github` so that the labeling actions don't need to fetch their configs
|
||||
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
with:
|
||||
sparse-checkout: .github
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
# These two steps add labels based on user input in the issue form
|
||||
- name: Parse issue form
|
||||
uses: stefanbuck/github-issue-parser@2ea9b35a8c584529ed00891a8f7e41dc46d0441e # v3
|
||||
uses: stefanbuck/github-issue-parser@10dcc54158ba4c137713d9d69d70a2da63b6bda3 # v3
|
||||
id: issue-parser
|
||||
with:
|
||||
template-path: .github/ISSUE_TEMPLATE/.common.yaml
|
||||
|
||||
@@ -18,23 +18,23 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
- name: Run migration analysis
|
||||
id: analysis
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
|
||||
- name: Update GitHub Issue
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
issue_number: issueNumber,
|
||||
body: reportBody
|
||||
});
|
||||
|
||||
|
||||
console.log(`✅ Successfully updated issue #${issueNumber}`);
|
||||
} catch (error) {
|
||||
console.error(`❌ Error updating issue: ${error.message}`);
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@ jobs:
|
||||
steps:
|
||||
# Inspired by https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Read PR Number
|
||||
id: pr-number
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
if: github.repository == 'backstage/backstage' && ( github.event.pull_request || github.event.issue.pull_request )
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -29,12 +29,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: 'Checkout code'
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -67,6 +67,6 @@ jobs:
|
||||
|
||||
# Upload the results to GitHub's code scanning dashboard.
|
||||
- name: 'Upload to code-scanning'
|
||||
uses: github/codeql-action/upload-sarif@a4e1a019f5e24960714ff6296aee04b736cbc3cf # v3.29.6
|
||||
uses: github/codeql-action/upload-sarif@4bdb89f48054571735e3792627da6195c57459e2 # v3.31.10
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
|
||||
@@ -8,26 +8,26 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
- name: Checkout backstage/docs-ui
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
repository: backstage/docs-ui
|
||||
path: bui-external-docs
|
||||
|
||||
@@ -10,17 +10,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
# Fetch changes to previous commit - required for 'only_changed' in Prettier action
|
||||
fetch-depth: 0
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
@@ -11,12 +11,12 @@ jobs:
|
||||
if: github.actor == 'dependabot[bot]' && github.repository == 'backstage/backstage'
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
ref: ${{ github.head_ref }}
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
git config --global user.email noreply@backstage.io
|
||||
git config --global user.name 'Github changeset workflow'
|
||||
- name: Generate changeset
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
script: |
|
||||
const { promises: fs } = require('fs');
|
||||
|
||||
@@ -25,17 +25,23 @@ jobs:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 20000
|
||||
fetch-tags: true
|
||||
token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.email noreply@backstage.io
|
||||
@@ -55,7 +61,7 @@ jobs:
|
||||
- name: Find existing PR
|
||||
id: find-pr
|
||||
if: steps.check-patches.outputs.has_patches == 'true'
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
script: |
|
||||
@@ -82,7 +88,7 @@ jobs:
|
||||
|
||||
- name: Close PR and delete branch if no patches
|
||||
if: steps.check-patches.outputs.has_patches == 'false'
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
script: |
|
||||
@@ -131,7 +137,7 @@ jobs:
|
||||
- name: Read patch files for PR metadata
|
||||
if: steps.check-patches.outputs.has_patches == 'true'
|
||||
id: read-patches
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
script: |
|
||||
@@ -203,7 +209,7 @@ jobs:
|
||||
|
||||
- name: Create or update PR
|
||||
if: steps.check-patches.outputs.has_patches == 'true'
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
env:
|
||||
PR_EXISTS: ${{ steps.find-pr.outputs.pr_exists }}
|
||||
PR_NUMBER: ${{ steps.find-pr.outputs.pr_number }}
|
||||
|
||||
@@ -8,26 +8,26 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
# 'v' prefix is added here for the tag, we keep it out of the manifest logic
|
||||
ref: v${{ github.event.client_payload.version }}
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
- name: Build yarn plugin
|
||||
working-directory: packages/yarn-plugin
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
# Checkout backstage/versions into /backstage/versions, which is where store the output
|
||||
- name: Checkout versions
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
repository: backstage/versions
|
||||
path: versions
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
git push
|
||||
|
||||
- name: Dispatch update-helper update
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
# TODO(Rugvip): Remove the create-app dispatch once we've been on the release version for a while
|
||||
|
||||
@@ -11,12 +11,12 @@ jobs:
|
||||
if: github.actor == 'renovate[bot]' && github.repository == 'backstage/backstage'
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
ref: ${{ github.head_ref }}
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
git config --global user.email noreply@backstage.io
|
||||
git config --global user.name 'Github changeset workflow'
|
||||
- name: Generate changeset
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
script: |
|
||||
const { promises: fs } = require("fs");
|
||||
|
||||
@@ -12,21 +12,21 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
- name: Create Snyk report
|
||||
uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # master
|
||||
|
||||
@@ -25,11 +25,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Monitor and Synchronize Snyk Policies
|
||||
uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # master
|
||||
with:
|
||||
@@ -58,6 +58,6 @@ jobs:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
NODE_OPTIONS: --max-old-space-size=7168
|
||||
- name: Upload Snyk report
|
||||
uses: github/codeql-action/upload-sarif@a4e1a019f5e24960714ff6296aee04b736cbc3cf # v3.29.6
|
||||
uses: github/codeql-action/upload-sarif@4bdb89f48054571735e3792627da6195c57459e2 # v3.31.10
|
||||
with:
|
||||
sarif_file: snyk.sarif
|
||||
|
||||
@@ -12,20 +12,28 @@ jobs:
|
||||
create-release-pr:
|
||||
name: Create Changeset PR
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 20000
|
||||
fetch-tags: true
|
||||
token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|
||||
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn --immutable
|
||||
|
||||
- name: Create Release Pull Request
|
||||
uses: backstage/changesets-action@a39baf18913e669734ffb00c2fd9900472cfa240 # v2.3.2
|
||||
with:
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -20,19 +20,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
- name: run Lighthouse CI
|
||||
run: |
|
||||
yarn dlx @lhci/cli@0.11.x autorun
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
name: Chromatic
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -19,22 +19,22 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
node-version: [20.x]
|
||||
node-version: [22.x]
|
||||
|
||||
name: Chromatic
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 10000 # Required to retrieve git history
|
||||
|
||||
- name: Use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
@@ -42,12 +42,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
# We must fetch at least the immediate parents so that if this is
|
||||
# a pull request then we can checkout the head.
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@a4e1a019f5e24960714ff6296aee04b736cbc3cf # v3.29.6
|
||||
uses: github/codeql-action/init@4bdb89f48054571735e3792627da6195c57459e2 # v3.31.10
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@a4e1a019f5e24960714ff6296aee04b736cbc3cf # v3.29.6
|
||||
uses: github/codeql-action/autobuild@4bdb89f48054571735e3792627da6195c57459e2 # v3.31.10
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
@@ -80,4 +80,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@a4e1a019f5e24960714ff6296aee04b736cbc3cf # v3.29.6
|
||||
uses: github/codeql-action/analyze@4bdb89f48054571735e3792627da6195c57459e2 # v3.31.10
|
||||
|
||||
@@ -12,11 +12,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
# Vale does not support file excludes, so we use the script to generate a list of files instead
|
||||
# The action also does not allow args or a local config file to be passed in, so the files array
|
||||
|
||||
@@ -24,12 +24,12 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
name: E2E Linux ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
env:
|
||||
CI: true
|
||||
@@ -43,11 +43,11 @@ jobs:
|
||||
name: E2E Linux ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
git config --global user.name 'GitHub e2e user'
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
env:
|
||||
CI: true
|
||||
@@ -32,17 +32,17 @@ jobs:
|
||||
name: Techdocs
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: yarn install
|
||||
|
||||
@@ -20,12 +20,12 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
name: E2E Windows ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -24,16 +24,16 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [22.x, 24.x]
|
||||
|
||||
env:
|
||||
CI: true
|
||||
NODE_OPTIONS: --max-old-space-size=8192 --no-node-snapshot --experimental-vm-modules
|
||||
NODE_OPTIONS: --max-old-space-size=8192 --experimental-vm-modules
|
||||
|
||||
name: E2E Windows ${{ matrix.node-version }}
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.eol lf
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
@@ -52,13 +52,13 @@ jobs:
|
||||
git config --global user.name 'GitHub e2e user'
|
||||
|
||||
- name: use node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: setup python
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
|
||||
@@ -14,12 +14,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Install Fossa
|
||||
run: "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash"
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
name: Microsite
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
@@ -28,12 +28,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: find latest release
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
id: find-release
|
||||
with:
|
||||
script: |
|
||||
@@ -59,31 +59,20 @@ jobs:
|
||||
result-encoding: string
|
||||
|
||||
- name: checkout latest release
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: refs/tags/${{ steps.find-release.outputs.result }}
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
|
||||
- name: build API reference
|
||||
run: yarn build:api-docs
|
||||
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: stable-reference
|
||||
path: docs/reference/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
# Use the lower-level cache actions for the success cache, so that we can store the cache even on failed builds
|
||||
- name: restore package-docs cache
|
||||
@@ -94,13 +83,13 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-v${{ matrix.node-version }}-package-docs-stable-
|
||||
|
||||
- name: build API reference (beta)
|
||||
- name: build API reference
|
||||
run: yarn backstage-repo-tools package-docs
|
||||
|
||||
- name: upload API reference (beta)
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: stable-reference-beta
|
||||
name: stable-reference
|
||||
path: type-docs/
|
||||
|
||||
# Always save success cache even if there were failures, that way it can be used in re-triggered builds
|
||||
@@ -137,34 +126,23 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- name: checkout master
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: yarn install
|
||||
uses: backstage/actions/yarn-install@b3c1841fd69e1658ac631afafd0fb140a2309024 # v0.6.17
|
||||
with:
|
||||
cache-prefix: ${{ runner.os }}-v20.x
|
||||
|
||||
- name: build API reference
|
||||
run: yarn build:api-docs
|
||||
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: next-reference
|
||||
path: docs/reference/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
cache-prefix: ${{ runner.os }}-v22.x
|
||||
|
||||
# Use the lower-level cache actions for the success cache, so that we can store the cache even on failed builds
|
||||
- name: restore package-docs cache
|
||||
@@ -175,13 +153,13 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-v${{ matrix.node-version }}-package-docs-next-
|
||||
|
||||
- name: build API reference (beta)
|
||||
- name: build API reference
|
||||
run: yarn backstage-repo-tools package-docs
|
||||
|
||||
- name: upload API reference (beta)
|
||||
- name: upload API reference
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: next-reference-beta
|
||||
name: next-reference
|
||||
path: type-docs/
|
||||
|
||||
# Always save success cache even if there were failures, that way it can be used in re-triggered builds
|
||||
@@ -234,17 +212,17 @@ jobs:
|
||||
name: Microsite
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
- name: Use Node.js 22.x
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
with:
|
||||
node-version: 20.x
|
||||
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
||||
node-version: 22.x
|
||||
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
@@ -267,12 +245,6 @@ jobs:
|
||||
- name: verify yarn dependency duplicates
|
||||
run: node scripts/verify-lockfile-duplicates.js
|
||||
|
||||
- name: download stable reference
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: stable-reference
|
||||
path: docs/reference
|
||||
|
||||
- name: download stable OpenAPI API docs
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
@@ -291,23 +263,14 @@ jobs:
|
||||
- name: clear generated docs
|
||||
run: git clean -fdx docs/
|
||||
|
||||
- name: build API reference
|
||||
run: yarn build:api-docs
|
||||
|
||||
- name: checkout master
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
clean: false
|
||||
|
||||
- name: Build MkDocs for TechDocs
|
||||
run: mkdocs build --strict
|
||||
|
||||
- name: download next reference
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: next-reference
|
||||
path: docs/reference
|
||||
|
||||
- name: download next OpenAPI API docs
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
@@ -317,15 +280,3 @@ jobs:
|
||||
- name: build microsite
|
||||
run: yarn build
|
||||
working-directory: microsite
|
||||
|
||||
- name: download stable reference (beta)
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: stable-reference-beta
|
||||
path: api/stable/
|
||||
|
||||
- name: download next reference (beta)
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: next-reference-beta
|
||||
path: api/next/
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
||||
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
|
||||
with:
|
||||
egress-policy: audit
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user