Skip to content

mikeyangyo/cdk-changelog-slack-notify

Repository files navigation

NPM version PyPI version Release codecov Commitizen friendly

Downloads npm PyPI

cdk-changelog-slack-notify

cdk-changelog-slack-notify is an AWS CDK construct library that allows you to send slack notification for new changes pushed to CodeCommit with AWS CDK in Typescript or Python.

Sample

import * as cdk from '@aws-cdk/core';
import { ChangelogSlackNotify } from 'cdk-changelog-slack-notify';

const app = new cdk.App();

const env = {
    region: process.env.CDK_DEFAULT_REGION,
    account: process.env.CDK_DEFAULT_ACCOUNT,
};

const demoStack = new cdk.Stack(app, 'DemoStack', { env });

new ChangelogSlackNotify(testStack, 'ChangelogSlackNotify', {
    repositoryName: 'test-repo',
    slackToken: 'slack-token',
    channelName: 'slack-channel-name',
});

Deploy

cdk deploy

Architecture

architecture diagram

Screenshots

without changelog:

without changelog image

with changelog :

with changelog image

Credits

This project a based heavily on work by the following:

About

an AWS CDK construct library that allows you to send slack notification for new changes pushed to CodeCommit repo with AWS CDK in Typescript or Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published