github-actions - version:bump to v1.38.1 (#3709)

* v1.38.1 version bump

* Manual changes for release

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

---------

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Backstage Service Account 2025-04-18 04:24:31 +02:00 committed by GitHub
parent 2074ec95e2
commit 5041897a96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
35 changed files with 689 additions and 696 deletions

View File

@ -0,0 +1,5 @@
---
'@backstage-community/plugin-github-actions': minor
---
Backstage version bump to v1.38.1

View File

@ -12,5 +12,5 @@ To start the app, run:
```sh
yarn install
yarn dev
yarn start
```

View File

@ -1,3 +1,3 @@
{
"version": "1.37.0"
"version": "1.38.1"
}

View File

@ -6,11 +6,8 @@
"node": "20 || 22"
},
"scripts": {
"dev": "yarn workspaces foreach -A --include backend --include app --parallel -v -i run start",
"dev-next": "yarn workspaces foreach -A --include backend --include app-next --parallel -v -i run start",
"start": "yarn workspace app start",
"start-next": "yarn workspace app-next start",
"start-backend": "yarn workspace backend start",
"start": "backstage-cli repo start",
"start:next": "yarn start app-next backend",
"build:backend": "yarn workspace backend build",
"tsc": "tsc",
"tsc:full": "tsc --skipLibCheck false --incremental false",
@ -39,9 +36,9 @@
"directory": "workspaces/github-actions"
},
"devDependencies": {
"@backstage/cli": "^0.31.0",
"@backstage/cli": "^0.32.0",
"@backstage/e2e-test-utils": "^0.1.1",
"@backstage/repo-tools": "^0.13.1",
"@backstage/repo-tools": "^0.13.2",
"@changesets/cli": "^2.27.1",
"knip": "^5.27.4",
"node-gyp": "^10.0.0",

View File

@ -20,26 +20,26 @@
},
"dependencies": {
"@backstage-community/plugin-github-actions": "workspace:^",
"@backstage/app-defaults": "^1.6.0",
"@backstage/app-defaults": "^1.6.1",
"@backstage/catalog-model": "^1.7.3",
"@backstage/cli": "^0.31.0",
"@backstage/core-app-api": "^1.16.0",
"@backstage/core-compat-api": "^0.4.0",
"@backstage/core-components": "^0.17.0",
"@backstage/core-plugin-api": "^1.10.5",
"@backstage/frontend-app-api": "^0.11.0",
"@backstage/frontend-defaults": "^0.2.0",
"@backstage/frontend-plugin-api": "^0.10.0",
"@backstage/integration-react": "^1.2.5",
"@backstage/plugin-api-docs": "^0.12.5",
"@backstage/plugin-catalog": "^1.28.0",
"@backstage/cli": "^0.32.0",
"@backstage/core-app-api": "^1.16.1",
"@backstage/core-compat-api": "^0.4.1",
"@backstage/core-components": "^0.17.1",
"@backstage/core-plugin-api": "^1.10.6",
"@backstage/frontend-app-api": "^0.11.1",
"@backstage/frontend-defaults": "^0.2.1",
"@backstage/frontend-plugin-api": "^0.10.1",
"@backstage/integration-react": "^1.2.6",
"@backstage/plugin-api-docs": "^0.12.6",
"@backstage/plugin-catalog": "^1.29.0",
"@backstage/plugin-catalog-common": "^1.1.3",
"@backstage/plugin-catalog-graph": "^0.4.17",
"@backstage/plugin-catalog-import": "^0.12.11",
"@backstage/plugin-catalog-react": "^1.16.0",
"@backstage/plugin-org": "^0.6.37",
"@backstage/plugin-user-settings": "^0.8.20",
"@backstage/theme": "^0.6.4",
"@backstage/plugin-catalog-graph": "^0.4.18",
"@backstage/plugin-catalog-import": "^0.12.13",
"@backstage/plugin-catalog-react": "^1.17.0",
"@backstage/plugin-org": "^0.6.38",
"@backstage/plugin-user-settings": "^0.8.21",
"@backstage/theme": "^0.6.5",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"history": "^5.0.0",
@ -51,7 +51,7 @@
"styled-components": "^6.1.8"
},
"devDependencies": {
"@backstage/test-utils": "^1.7.6",
"@backstage/test-utils": "^1.7.7",
"@playwright/test": "^1.32.3",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^6.0.0",

View File

@ -33,7 +33,6 @@ import { ApiExplorerPage } from '@backstage/plugin-api-docs';
import catalogPlugin from '@backstage/plugin-catalog/alpha';
import catalogImportPlugin from '@backstage/plugin-catalog-import/alpha';
import userSettingsPlugin from '@backstage/plugin-user-settings/alpha';
import React from 'react';
import { Navigate, Route } from 'react-router';
import { navigationExtension } from './components/Sidebar';

View File

@ -32,7 +32,6 @@ import {
import ExtensionIcon from '@material-ui/icons/Extension';
import HomeIcon from '@material-ui/icons/Home';
import MenuIcon from '@material-ui/icons/Menu';
import React from 'react';
export const navigationExtension = createExtension({
name: 'nav',

View File

@ -18,7 +18,6 @@ import {
SignInProviderConfig,
} from '@backstage/core-components';
import { githubAuthApiRef, SignInPageProps } from '@backstage/core-plugin-api';
import React from 'react';
const githubProvider: SignInProviderConfig = {
id: 'github-auth-provider',

View File

@ -20,23 +20,23 @@
},
"dependencies": {
"@backstage-community/plugin-github-actions": "workspace:^",
"@backstage/app-defaults": "^1.6.0",
"@backstage/app-defaults": "^1.6.1",
"@backstage/catalog-model": "^1.7.3",
"@backstage/cli": "^0.31.0",
"@backstage/core-app-api": "^1.16.0",
"@backstage/core-components": "^0.17.0",
"@backstage/core-plugin-api": "^1.10.5",
"@backstage/integration-react": "^1.2.5",
"@backstage/plugin-api-docs": "^0.12.5",
"@backstage/plugin-catalog": "^1.28.0",
"@backstage/cli": "^0.32.0",
"@backstage/core-app-api": "^1.16.1",
"@backstage/core-components": "^0.17.1",
"@backstage/core-plugin-api": "^1.10.6",
"@backstage/integration-react": "^1.2.6",
"@backstage/plugin-api-docs": "^0.12.6",
"@backstage/plugin-catalog": "^1.29.0",
"@backstage/plugin-catalog-common": "^1.1.3",
"@backstage/plugin-catalog-graph": "^0.4.17",
"@backstage/plugin-catalog-import": "^0.12.11",
"@backstage/plugin-catalog-react": "^1.16.0",
"@backstage/plugin-org": "^0.6.37",
"@backstage/plugin-permission-react": "^0.4.32",
"@backstage/plugin-user-settings": "^0.8.20",
"@backstage/theme": "^0.6.4",
"@backstage/plugin-catalog-graph": "^0.4.18",
"@backstage/plugin-catalog-import": "^0.12.13",
"@backstage/plugin-catalog-react": "^1.17.0",
"@backstage/plugin-org": "^0.6.38",
"@backstage/plugin-permission-react": "^0.4.33",
"@backstage/plugin-user-settings": "^0.8.21",
"@backstage/theme": "^0.6.5",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"history": "^5.0.0",
@ -47,7 +47,7 @@
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/test-utils": "^1.7.6",
"@backstage/test-utils": "^1.7.7",
"@playwright/test": "^1.32.3",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^6.0.0",

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import App from './App';

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { Navigate, Route } from 'react-router-dom';
import { apiDocsPlugin, ApiExplorerPage } from '@backstage/plugin-api-docs';
import {

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React, { PropsWithChildren } from 'react';
import { PropsWithChildren } from 'react';
import HomeIcon from '@material-ui/icons/Home';
import ExtensionIcon from '@material-ui/icons/Extension';
import {

View File

@ -18,7 +18,6 @@ import {
SignInProviderConfig,
} from '@backstage/core-components';
import { githubAuthApiRef, SignInPageProps } from '@backstage/core-plugin-api';
import React from 'react';
const githubProvider: SignInProviderConfig = {
id: 'github-auth-provider',

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { Button, Grid } from '@material-ui/core';
import {
EntityAboutCard,

View File

@ -14,7 +14,6 @@
* limitations under the License.
*/
import '@backstage/cli/asset-types';
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';

View File

@ -21,16 +21,16 @@
"build-image": "docker build ../.. -f Dockerfile --tag backstage"
},
"dependencies": {
"@backstage/backend-defaults": "^0.8.2",
"@backstage/backend-plugin-api": "^1.2.1",
"@backstage/backend-defaults": "^0.9.0",
"@backstage/backend-plugin-api": "^1.3.0",
"@backstage/catalog-model": "^1.7.3",
"@backstage/config": "^1.3.2",
"@backstage/plugin-app-backend": "^0.5.0",
"@backstage/plugin-auth-backend": "^0.24.4",
"@backstage/plugin-auth-backend-module-github-provider": "^0.3.1",
"@backstage/plugin-auth-node": "^0.6.1",
"@backstage/plugin-catalog-backend": "^1.32.0",
"@backstage/plugin-proxy-backend": "^0.6.0",
"@backstage/plugin-app-backend": "^0.5.1",
"@backstage/plugin-auth-backend": "^0.24.5",
"@backstage/plugin-auth-backend-module-github-provider": "^0.3.2",
"@backstage/plugin-auth-node": "^0.6.2",
"@backstage/plugin-catalog-backend": "^1.32.1",
"@backstage/plugin-proxy-backend": "^0.6.1",
"app": "link:../app",
"better-sqlite3": "^9.0.0",
"dockerode": "^3.3.1",
@ -39,7 +39,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "^0.31.0",
"@backstage/cli": "^0.32.0",
"@types/dockerode": "^3.3.0",
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",

View File

@ -14,7 +14,6 @@
* limitations under the License.
*/
import React from 'react';
import { createDevApp } from '@backstage/dev-utils';
import { EntityGithubActionsContent, githubActionsPlugin } from '../src/plugin';
import { EntityProvider } from '@backstage/plugin-catalog-react';

View File

@ -56,13 +56,13 @@
},
"dependencies": {
"@backstage/catalog-model": "^1.7.3",
"@backstage/core-compat-api": "^0.4.0",
"@backstage/core-components": "^0.17.0",
"@backstage/core-plugin-api": "^1.10.5",
"@backstage/frontend-plugin-api": "^0.10.0",
"@backstage/integration": "^1.16.2",
"@backstage/integration-react": "^1.2.5",
"@backstage/plugin-catalog-react": "^1.16.0",
"@backstage/core-compat-api": "^0.4.1",
"@backstage/core-components": "^0.17.1",
"@backstage/core-plugin-api": "^1.10.6",
"@backstage/frontend-plugin-api": "^0.10.1",
"@backstage/integration": "^1.16.3",
"@backstage/integration-react": "^1.2.6",
"@backstage/plugin-catalog-react": "^1.17.0",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
@ -73,11 +73,11 @@
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/cli": "^0.31.0",
"@backstage/core-app-api": "^1.16.0",
"@backstage/dev-utils": "^1.1.8",
"@backstage/frontend-test-utils": "^0.3.0",
"@backstage/test-utils": "^1.7.6",
"@backstage/cli": "^0.32.0",
"@backstage/core-app-api": "^1.16.1",
"@backstage/dev-utils": "^1.1.9",
"@backstage/frontend-test-utils": "^0.3.1",
"@backstage/test-utils": "^1.7.7",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^15.0.0",

View File

@ -5,7 +5,7 @@
```ts
/// <reference types="react" />
import { AnyApiFactory } from '@backstage/core-plugin-api/*';
import { AnyApiFactory } from '@backstage/core-plugin-api';
import { AnyExtensionDataRef } from '@backstage/frontend-plugin-api';
import { AnyRouteRefParams } from '@backstage/frontend-plugin-api';
import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api';
@ -322,7 +322,9 @@ const _default: FrontendPlugin<
| (string & {})
| 'development'
| 'deployment'
| 'overview'
| 'documentation'
| 'operation'
| 'observability'
| undefined;
routeRef?: RouteRef<AnyRouteRefParams> | undefined;

View File

@ -3,16 +3,12 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import { ApiRef } from '@backstage/core-plugin-api/*';
import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { ConfigApi } from '@backstage/core-plugin-api';
import { Entity } from '@backstage/catalog-model';
import { InfoCardVariants } from '@backstage/core-components/*';
import { InfoCardVariants as InfoCardVariants_2 } from '@backstage/core-components';
import { JSX as JSX_2 } from 'react';
import { default as React_2 } from 'react';
import { InfoCardVariants } from '@backstage/core-components';
import { JSX as JSX_2 } from 'react/jsx-runtime';
import { RestEndpointMethodTypes } from '@octokit/rest';
import { RouteRef } from '@backstage/core-plugin-api';
import { ScmAuthApi } from '@backstage/integration-react';
@ -253,25 +249,25 @@ export type Jobs = {
// @public (undocumented)
export const LatestWorkflowRunCard: (props: {
branch?: string;
variant?: InfoCardVariants_2;
}) => React_2.JSX.Element;
variant?: InfoCardVariants;
}) => JSX_2.Element;
// @public (undocumented)
export const LatestWorkflowsForBranchCard: (props: {
branch?: string;
variant?: InfoCardVariants_2;
}) => React_2.JSX.Element;
variant?: InfoCardVariants;
}) => JSX_2.Element;
// @public (undocumented)
export const RecentWorkflowRunsCard: (props: {
branch?: string;
dense?: boolean;
limit?: number;
variant?: InfoCardVariants_2;
}) => React_2.JSX.Element;
variant?: InfoCardVariants;
}) => JSX_2.Element;
// @public (undocumented)
export const Router: (props: RouterProps) => React_2.JSX.Element;
export const Router: (props: RouterProps) => JSX_2.Element;
// @public (undocumented)
export interface RouterProps {

View File

@ -23,7 +23,6 @@ import * as cards from './entityCards';
import { EntityProvider } from '@backstage/plugin-catalog-react';
import { GithubActionsApi, githubActionsApiRef } from '../api';
import { sampleEntity } from '../__fixtures__/entity';
import React from 'react';
jest.mock('@backstage/core-plugin-api', () => ({
...jest.requireActual('@backstage/core-plugin-api'),

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';
import { isGithubActionsAvailable } from '../components/Router';

View File

@ -23,7 +23,6 @@ import * as content from './entityContent';
import { EntityProvider } from '@backstage/plugin-catalog-react';
import { GithubActionsApi, githubActionsApiRef } from '../api';
import { sampleEntity } from '../__fixtures__/entity';
import React from 'react';
const listBranchesMock = jest
.fn()

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { convertLegacyRouteRef } from '@backstage/core-compat-api';
import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
import { isGithubActionsAvailable } from '../components/Router';

View File

@ -19,7 +19,7 @@ import LinearProgress from '@material-ui/core/LinearProgress';
import Typography from '@material-ui/core/Typography';
import { makeStyles } from '@material-ui/core/styles';
import ExternalLinkIcon from '@material-ui/icons/Launch';
import React, { useEffect } from 'react';
import { useEffect } from 'react';
import { GITHUB_ACTIONS_ANNOTATION } from '../getProjectNameFromEntity';
import { useWorkflowRuns, WorkflowRun } from '../useWorkflowRuns';
import { WorkflowRunsTable } from '../WorkflowRunsTable';

View File

@ -15,7 +15,6 @@
*/
import { EntityProvider } from '@backstage/plugin-catalog-react';
import React from 'react';
import { useWorkflowRuns } from '../useWorkflowRuns';
import { RecentWorkflowRunsCard } from './RecentWorkflowRunsCard';

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
import { useEntity } from '@backstage/plugin-catalog-react';
import React, { useEffect } from 'react';
import { useEffect } from 'react';
import { Link as RouterLink } from 'react-router-dom';
import { GITHUB_ACTIONS_ANNOTATION } from '../getProjectNameFromEntity';
import { useWorkflowRuns, WorkflowRun } from '../useWorkflowRuns';

View File

@ -14,7 +14,6 @@
* limitations under the License.
*/
import React from 'react';
import { Entity } from '@backstage/catalog-model';
import {
useEntity,

View File

@ -33,7 +33,6 @@ import { makeStyles, Theme } from '@material-ui/core/styles';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import ExternalLinkIcon from '@material-ui/icons/Launch';
import { DateTime } from 'luxon';
import React from 'react';
import { Job, Jobs, Step } from '../../api';
import { getProjectNameFromEntity } from '../getProjectNameFromEntity';
import { WorkflowRunStatus } from '../WorkflowRunStatus';

View File

@ -27,7 +27,7 @@ import Zoom from '@material-ui/core/Zoom';
import { makeStyles } from '@material-ui/core/styles';
import DescriptionIcon from '@material-ui/icons/Description';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import React from 'react';
import { useState } from 'react';
import { getProjectNameFromEntity } from '../getProjectNameFromEntity';
import { useDownloadWorkflowRunLogs } from './useDownloadWorkflowRunLogs';
import { getHostnameFromEntity } from '../getHostnameFromEntity';
@ -83,7 +83,7 @@ export const WorkflowRunLogs = ({
id: runId,
});
const logText = jobLogs.value ? String(jobLogs.value) : undefined;
const [open, setOpen] = React.useState(false);
const [open, setOpen] = useState(false);
const handleOpen = () => {
setOpen(true);

View File

@ -14,7 +14,6 @@
* limitations under the License.
*/
import React from 'react';
import {
StatusPending,
StatusRunning,

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React, { ChangeEvent, useEffect, useState } from 'react';
import { ChangeEvent, useEffect, useState } from 'react';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import IconButton from '@material-ui/core/IconButton';

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import IconButton from '@material-ui/core/IconButton';

View File

@ -13,6 +13,7 @@
"rootDir": ".",
"lib": ["DOM", "DOM.Iterable", "ScriptHost", "ES2022"],
"target": "ES2022",
"useUnknownInCatchVariables": false
"useUnknownInCatchVariables": false,
"jsx": "react-jsx"
}
}

File diff suppressed because it is too large Load Diff