Skip to content

Commit 785e489

Browse files
committed
Remove usage of PAT
1 parent afd0b20 commit 785e489

4 files changed

+5
-8
lines changed

PSModules/stages/deploy-module-publish-only.yml

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ parameters:
77
type: string
88
- name: DefaultBranch
99
type: string
10-
- name: GitHubPAT
11-
type: string
1210

1311
stages:
1412
- stage: Deploy

PSModules/stages/deploy-module.yml

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ parameters:
77
type: string
88
- name: DefaultBranch
99
type: string
10-
- name: GitHubPAT
11-
type: string
1210

1311
stages:
1412
- stage: Deploy

PSModules/umn-module-publish-only.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ parameters:
99
- name: FailOnTestFailure
1010
type: boolean
1111
default: true
12+
- name: DefaultBranch
13+
type: string
14+
default: master
1215
- name: GitHubPAT
1316
type: string
14-
default: "this will fail"
17+
default: "not needed"
1518

1619
stages:
1720
- template: stages/build-module.yml
@@ -26,4 +29,3 @@ stages:
2629
ModuleName: ${{ parameters.ModuleName }}
2730
RepoPath: ${{ parameters.RepoPath }}
2831
RepoName: ${{ parameters.RepoName }}
29-
GitHubPAT: ${{ parameters.GitHubPAT }}

PSModules/umn-module.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ parameters:
1414
default: master
1515
- name: GitHubPAT
1616
type: string
17-
default: "this will fail"
17+
default: "not needed"
1818

1919
stages:
2020
- template: stages/build-module.yml
@@ -30,4 +30,3 @@ stages:
3030
RepoPath: ${{ parameters.RepoPath }}
3131
RepoName: ${{ parameters.RepoName }}
3232
DefaultBranch: ${{ parameters.DefaultBranch }}
33-
GitHubPAT: ${{ parameters.GitHubPAT }}

0 commit comments

Comments
 (0)