diff --git a/plugins/scaffolder-backend-module-gitlab/README.md b/plugins/scaffolder-backend-module-gitlab/README.md index a6277d4387..35353cf9c1 100644 --- a/plugins/scaffolder-backend-module-gitlab/README.md +++ b/plugins/scaffolder-backend-module-gitlab/README.md @@ -116,7 +116,7 @@ spec: - id: gitlab-deploy-token name: Create Deploy Token - action: gitlab:pdt:create + action: gitlab:projectDeployToken:create input: repoUrl: ${{ parameters.repoUrl }} projectId: "${{ steps['publish'].output.projectId }}" @@ -125,8 +125,8 @@ spec: scopes: ['read_registry'] - id: gitlab-access-token - name: Gitlab Access Token - action: gitlab:pat:create + name: Gitlab Project Access Token + action: gitlab:projectAccessToken:create input: repoUrl: ${{ parameters.repoUrl }} projectId: "${{ steps['publish-manifest'].output.projectId }}" @@ -135,8 +135,8 @@ spec: scopes: ['read_repository', 'write_repository'] - id: gitlab-project-variable - name: Manifest CI/CD Variable - action: gitlab:pv:create + name: Gitlab Project Variable + action: gitlab:projectVariable:create input: repoUrl: ${{ parameters.repoUrl }} projectId: "${{ steps['publish'].output.projectId }}" diff --git a/plugins/scaffolder-backend-module-gitlab/src/actions/createGitlabProjectAccessTokenAction.ts b/plugins/scaffolder-backend-module-gitlab/src/actions/createGitlabProjectAccessTokenAction.ts index 29e3a06a44..0f39e3bc33 100644 --- a/plugins/scaffolder-backend-module-gitlab/src/actions/createGitlabProjectAccessTokenAction.ts +++ b/plugins/scaffolder-backend-module-gitlab/src/actions/createGitlabProjectAccessTokenAction.ts @@ -36,7 +36,7 @@ export const createGitlabProjectAccessTokenAction = (options: { scopes: string[]; token?: string; }>({ - id: 'gitlab:personalAccessToken:create', + id: 'gitlab:projectAccessToken:create', schema: { input: { required: ['projectId', 'repoUrl'],