├── .devcontainer ├── Dockerfile ├── Update-DevContainer.ps1 └── devcontainer.json ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── announcement-drafter.yml └── workflows │ ├── codeql-analysis.yml │ ├── composite │ ├── azure-appsettings-deployment │ │ └── action.yml │ ├── azure-login │ │ └── action.yml │ ├── azure-resourcegroup-deployment │ │ └── action.yml │ ├── azure-subscription-deployment │ │ └── action.yml │ ├── web-app-build-test │ │ └── action.yml │ └── web-app-create-release │ │ └── action.yml │ ├── infrastructure-ci-cd.yml │ └── web-app-ci-cd.yml ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── announcement-drafter.code-workspace ├── docs ├── testing.md ├── update-npm-packages.md └── upgrade-node.md ├── infrastructure ├── announcement-drafter.bicep ├── announcement-drafter.parameters.json └── modules │ ├── appservice-module.bicep │ └── cosmos-module.bicep └── web-app ├── .env.example ├── .eslintignore ├── .eslintrc.json ├── .prettierignore ├── .prettierrc ├── jest.config.js ├── package-lock.json ├── package.json ├── scripts └── make_dist.sh ├── src ├── eventHandlers │ └── pullRequestEventHandler.ts ├── index.ts ├── models │ ├── appConfig.ts │ ├── appSettings.ts │ ├── fileContent.ts │ └── githubModels.ts ├── services │ ├── authService.ts │ ├── configService.ts │ ├── githubService.ts │ ├── helperService.ts │ ├── parserService.ts │ ├── routerService.ts │ └── tokenService.ts └── templates │ └── authorization.ts ├── test └── fixtures │ ├── discussion_posts │ ├── author-with-at.md │ ├── category-long.md │ ├── category-short.md │ ├── happy-path.md │ ├── header-top-in-body.md │ ├── links-to-media.md │ ├── repo-and-team-missing-1.md │ ├── repo-and-team-missing-2.md │ ├── repo-external.md │ ├── repo-only-1.md │ ├── repo-only-2.md │ ├── team-only-1.md │ ├── team-only-2.md │ ├── unapproved.md │ └── yaml-invalid.md │ └── webhook_payloads │ ├── pull_request_merged.json │ └── pull_request_opened.json └── tsconfig.json /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/Update-DevContainer.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.devcontainer/Update-DevContainer.ps1 -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [philip-gai] 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/announcement-drafter.yml: -------------------------------------------------------------------------------- 1 | watch_folders: 2 | - docs/discussions/ 3 | -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/composite/azure-appsettings-deployment/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/composite/azure-appsettings-deployment/action.yml -------------------------------------------------------------------------------- /.github/workflows/composite/azure-login/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/composite/azure-login/action.yml -------------------------------------------------------------------------------- /.github/workflows/composite/azure-resourcegroup-deployment/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/composite/azure-resourcegroup-deployment/action.yml -------------------------------------------------------------------------------- /.github/workflows/composite/azure-subscription-deployment/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/composite/azure-subscription-deployment/action.yml -------------------------------------------------------------------------------- /.github/workflows/composite/web-app-build-test/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/composite/web-app-build-test/action.yml -------------------------------------------------------------------------------- /.github/workflows/composite/web-app-create-release/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/composite/web-app-create-release/action.yml -------------------------------------------------------------------------------- /.github/workflows/infrastructure-ci-cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/infrastructure-ci-cd.yml -------------------------------------------------------------------------------- /.github/workflows/web-app-ci-cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.github/workflows/web-app-ci-cd.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "appService.defaultWebAppToDeploy": "None" 3 | } -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @philip-gai 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/README.md -------------------------------------------------------------------------------- /announcement-drafter.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/announcement-drafter.code-workspace -------------------------------------------------------------------------------- /docs/testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/docs/testing.md -------------------------------------------------------------------------------- /docs/update-npm-packages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/docs/update-npm-packages.md -------------------------------------------------------------------------------- /docs/upgrade-node.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/docs/upgrade-node.md -------------------------------------------------------------------------------- /infrastructure/announcement-drafter.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/infrastructure/announcement-drafter.bicep -------------------------------------------------------------------------------- /infrastructure/announcement-drafter.parameters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/infrastructure/announcement-drafter.parameters.json -------------------------------------------------------------------------------- /infrastructure/modules/appservice-module.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/infrastructure/modules/appservice-module.bicep -------------------------------------------------------------------------------- /infrastructure/modules/cosmos-module.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/infrastructure/modules/cosmos-module.bicep -------------------------------------------------------------------------------- /web-app/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/.env.example -------------------------------------------------------------------------------- /web-app/.eslintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | lib/ 3 | node_modules/ 4 | jest.config.js 5 | -------------------------------------------------------------------------------- /web-app/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/.eslintrc.json -------------------------------------------------------------------------------- /web-app/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | lib/ 3 | node_modules/ -------------------------------------------------------------------------------- /web-app/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 160 3 | } 4 | -------------------------------------------------------------------------------- /web-app/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/jest.config.js -------------------------------------------------------------------------------- /web-app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/package-lock.json -------------------------------------------------------------------------------- /web-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/package.json -------------------------------------------------------------------------------- /web-app/scripts/make_dist.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/scripts/make_dist.sh -------------------------------------------------------------------------------- /web-app/src/eventHandlers/pullRequestEventHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/eventHandlers/pullRequestEventHandler.ts -------------------------------------------------------------------------------- /web-app/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/index.ts -------------------------------------------------------------------------------- /web-app/src/models/appConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/models/appConfig.ts -------------------------------------------------------------------------------- /web-app/src/models/appSettings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/models/appSettings.ts -------------------------------------------------------------------------------- /web-app/src/models/fileContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/models/fileContent.ts -------------------------------------------------------------------------------- /web-app/src/models/githubModels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/models/githubModels.ts -------------------------------------------------------------------------------- /web-app/src/services/authService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/authService.ts -------------------------------------------------------------------------------- /web-app/src/services/configService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/configService.ts -------------------------------------------------------------------------------- /web-app/src/services/githubService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/githubService.ts -------------------------------------------------------------------------------- /web-app/src/services/helperService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/helperService.ts -------------------------------------------------------------------------------- /web-app/src/services/parserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/parserService.ts -------------------------------------------------------------------------------- /web-app/src/services/routerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/routerService.ts -------------------------------------------------------------------------------- /web-app/src/services/tokenService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/services/tokenService.ts -------------------------------------------------------------------------------- /web-app/src/templates/authorization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/src/templates/authorization.ts -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/author-with-at.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/author-with-at.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/category-long.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/category-long.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/category-short.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/category-short.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/happy-path.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/happy-path.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/header-top-in-body.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/header-top-in-body.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/links-to-media.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/links-to-media.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/repo-and-team-missing-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/repo-and-team-missing-1.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/repo-and-team-missing-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/repo-and-team-missing-2.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/repo-external.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/repo-external.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/repo-only-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/repo-only-1.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/repo-only-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/repo-only-2.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/team-only-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/team-only-1.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/team-only-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/team-only-2.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/unapproved.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/unapproved.md -------------------------------------------------------------------------------- /web-app/test/fixtures/discussion_posts/yaml-invalid.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/discussion_posts/yaml-invalid.md -------------------------------------------------------------------------------- /web-app/test/fixtures/webhook_payloads/pull_request_merged.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/webhook_payloads/pull_request_merged.json -------------------------------------------------------------------------------- /web-app/test/fixtures/webhook_payloads/pull_request_opened.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/test/fixtures/webhook_payloads/pull_request_opened.json -------------------------------------------------------------------------------- /web-app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philip-gai/announcement-drafter/HEAD/web-app/tsconfig.json --------------------------------------------------------------------------------