Skip to content

Commit 528dc4f

Browse files
authored
chore(github): fix github workflows (#386)
* chore(github): change PAT used for workflows
1 parent 5703f57 commit 528dc4f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/auto-approve.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/code-generation.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-main.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projenrc/github-jobs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function buildUpgradeMainPRCustomJob() {
5858
id: 'create-pr',
5959
uses: 'peter-evans/create-pull-request@v4',
6060
with: {
61-
'token': '${{ secrets.GITHUB_TOKEN }}',
61+
'token': '${{ secrets.PROJEN_GITHUB_TOKEN }}',
6262
'commit-message': [
6363
'chore(deps): upgrade dependencies\n',
6464

projenrc/github-workflows.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function buildAutoApproveWorkflow(project: AwsCdkConstructLibrary) {
157157
{
158158
uses: 'hmarr/[email protected]',
159159
with: {
160-
'github-token': '${{ secrets.PROJEN_GITHUB_TOKEN }}',
160+
'github-token': '${{ secrets.GITHUB_TOKEN }}',
161161
'review-message': 'Auto approved automated PR',
162162
},
163163
},
@@ -555,7 +555,7 @@ export function buildCodeGenerationWorkflow(project: AwsCdkConstructLibrary) {
555555
id: 'create-pr',
556556
uses: 'peter-evans/create-pull-request@v4',
557557
with: {
558-
'token': '${{ secrets.GITHUB_TOKEN }}',
558+
'token': '${{ secrets.PROJEN_GITHUB_TOKEN }}',
559559
'commit-message': [
560560
'chore(deps): upgrade list of models and DLC images',
561561

0 commit comments

Comments
 (0)