Skip to content

Commit 453a36f

Browse files
committed
chore: use GitHub App for workflows
1 parent cbdb2d6 commit 453a36f

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-main.yml

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const { awscdk } = require('projen');
2+
const { GithubCredentials } = require('projen/lib/github');
23
const { NpmAccess } = require('projen/lib/javascript');
34
const project = new awscdk.AwsCdkConstructLibrary({
45
author: 'OpsBR Software Technology Inc.',
@@ -15,6 +16,9 @@ const project = new awscdk.AwsCdkConstructLibrary({
1516
integ: 'npx cdk deploy --app ./lib/integ.default.js',
1617
},
1718
npmAccess: NpmAccess.PUBLIC,
19+
githubOptions: {
20+
projenCredentials: GithubCredentials.fromApp(),
21+
},
1822
});
1923
project.addGitIgnore('/cdk.out/');
2024
project.synth();

0 commit comments

Comments
 (0)