Skip to content

Commit

Permalink
rename action file
Browse files Browse the repository at this point in the history
Signed-off-by: Phill Morton [email protected]"
  • Loading branch information
Phiph committed Sep 27, 2024
1 parent b85ee96 commit 7122ba7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jest.mock('@backstage/plugin-scaffolder-node', () => {
};
});

import { runAzurePipelineAction } from './example';
import { runAzurePipelineAction } from './run-pipeline';
import { ScmIntegrations } from '@backstage/integration';
import { ConfigReader } from '@backstage/config';
import { WebApi } from 'azure-devops-node-api';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
createBackendModule,
} from '@backstage/backend-plugin-api';
import { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';
import { runAzurePipelineAction } from './actions/example/example';
import { runAzurePipelineAction } from './actions/example/run-pipeline';
import { ScmIntegrations } from '@backstage/integration';

/**
Expand All @@ -35,9 +35,7 @@ export const scaffolderModule = createBackendModule({
},
async init({ scaffolderActions, config }) {
const integrations = ScmIntegrations.fromConfig(config);
scaffolderActions.addActions(
runAzurePipelineAction({ integrations, config }),
);
scaffolderActions.addActions(runAzurePipelineAction({ integrations }));
},
});
},
Expand Down

0 comments on commit 7122ba7

Please sign in to comment.