Skip to content

Commit 99d2d79

Browse files
chore(ci): change release cadence, use github app (#38)
1 parent c33637e commit 99d2d79

4 files changed

Lines changed: 21 additions & 6 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: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

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

.projenrc.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { typescript, javascript } from "projen";
1+
import { typescript, github, javascript, ReleasableCommits } from "projen";
22

33
const projectUrl = "https://github.com/libreworks/db-provision-pgsql";
44

@@ -61,11 +61,11 @@ const project = new typescript.TypeScriptProject({
6161
majorVersion: 0,
6262
defaultReleaseBranch: "main",
6363
githubOptions: {
64+
projenCredentials: github.GithubCredentials.fromApp({}),
6465
pullRequestLintOptions: {
6566
semanticTitleOptions: { types: ["feat", "fix", "chore", "docs"] },
6667
},
6768
},
68-
projenTokenSecret: "PROJEN_GITHUB_TOKEN",
6969
autoApproveOptions: {
7070
// Anyone with write access to this repository can have auto-approval.
7171
allowedUsernames: [],
@@ -77,6 +77,7 @@ const project = new typescript.TypeScriptProject({
7777
},
7878
},
7979

80+
releasableCommits: ReleasableCommits.featuresAndFixes(),
8081
releaseToNpm: true,
8182
packageName: "@libreworks/db-provision-pgsql",
8283
npmAccess: javascript.NpmAccess.PUBLIC,

0 commit comments

Comments
 (0)