Skip to content

Commit

Permalink
chore: workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Haken committed Dec 17, 2024
1 parent 81dcbf8 commit a742cb0
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions .mergify.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .projen/files.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,20 @@ const project = new CdklabsConstructLibrary ({
'aws-cdk-lib',
'cdk-nag'
],
private: false,
npmAccess: javascript.NpmAccess.PUBLIC,
license: 'Apache-2.0',
githubOptions: {
mergify: true,
mergeQueue: true
},
autoMerge: true,
autoMergeOptions: {
approvedReviews: 0
},
autoApproveUpgrades: true,
autoApproveOptions: {
allowedUsernames: ['cdklabs-automation'],
allowedUsernames: ['cdklabs-automation', "hakenmt", "github-bot"]
},
eslint: false,
eslintOptions: {
Expand Down Expand Up @@ -252,14 +257,12 @@ project.tasks.tryFind('release')?.updateStep(4, {
exec: "git diff --ignore-space-at-eol --exit-code ':!tsconfig.json'",
});

/*project.addFields({
version: '0.0.1-alpha.1',
});*/

project.github
?.tryFindWorkflow('release')
?.file?.patch(JsonPatch.remove('/jobs/release_pypi/steps/1'));
project.synth();
project.github
?.tryFindWorkflow('release')
?.file?.patch(JsonPatch.add('/jobs/release_maven/steps/2', {"name": " Install gpg-agent", "run": "dnf install --assumeyes --allowerasing gnupg2"}));

project.github
?.tryFindWorkflow('build')
Expand Down
3 changes: 0 additions & 3 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a742cb0

Please sign in to comment.