Skip to content

Commit 4d9f4ab

Browse files
authored
chore(projen): enable issue creation on release failure (#673)
1 parent 2f1274b commit 4d9f4ab

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

.github/workflows/release.yml

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

.projenrc.ts

+6
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ const project = new awscdk.AwsCdkConstructLibrary({
130130
stability: 'experimental',
131131
sampleCode: false,
132132
stale: true,
133+
// To reduce the release frequency we only release features and fixes
134+
// This is important because PyPI has limits on the total storage amount used, and extensions need to be manually requested
133135
releasableCommits: ReleasableCommits.featuresAndFixes(),
136+
// If the release workflow fails for one of the package managers, we open a new GitHub issue
137+
releaseFailureIssue: true,
138+
releaseFailureIssueLabel: 'gh-workflow-failing',
134139
});
135140

136141
// Add some useful github workflows
@@ -184,6 +189,7 @@ project.github?.actions.set('peter-evans/create-pull-request@v4', 'peter-evans/c
184189
project.github?.actions.set('peter-evans/create-pull-request@v5', 'peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38');
185190
project.github?.actions.set('peter-evans/create-pull-request@v6', 'peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50');
186191
project.github?.actions.set('aws-actions/[email protected]', 'aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502');
192+
project.github?.actions.set('imjohnbo/issue-bot@v3', 'imjohnbo/issue-bot@3daae12aa54d38685d7ff8459fc8a2aee8cea98b');
187193

188194
// We don't want to package certain things
189195
project.npmignore?.addPatterns(

0 commit comments

Comments
 (0)