Skip to content
Open
Show file tree
Hide file tree
Changes from 189 commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
8c7b52b
FIxed build issue by Updating dependency version in package.json
jagankumar-egov Feb 1, 2024
a990445
Added the Build configs for the Microfrontend Apps
jagankumar-egov Feb 5, 2024
dbaf47d
Update build-config.yml
jagankumar-egov Mar 12, 2024
2873b1f
Added PGR code from OSS (Urban) (#431)
jagankumar-egov May 2, 2024
ae27835
ISTE-11: Fixed Redirect logout url, Fixed breadcrumb need to hide (#424)
anilsingha-eGov May 3, 2024
943abb3
fix: resolved AJV-related Jenkins build issue (#783)
jagankumar-egov Jun 5, 2024
863d019
Update README.md
jagankumar-egov Jun 8, 2024
a42bd28
HCM Admin console v0.1 release ui changes (#964)
jagankumar-egov Jun 26, 2024
c29df69
Microplan v1 UI Changes merging to master under health folder along w…
siddhant-nawale-egov Jun 26, 2024
9411473
Trimmed microplan name. Open Saved microplan with navigation for all …
siddhant-nawale-egov Jun 27, 2024
ef3963f
Update build-config.yml for microplan build issue
jagankumar-egov Jun 27, 2024
f5f2f81
adding map height css changes, geojson active inactive status change
siddhant-nawale-egov Jun 27, 2024
aa72dda
Merge pull request #969 from egovernments/master-map-css-change-and-g…
nipunarora-eGov Jun 27, 2024
e6d4a8e
Adding handling of same name sheets (#975)
siddhant-nawale-egov Jun 28, 2024
dbdff07
Microplan handling same sheet name (#979)
siddhant-nawale-egov Jun 28, 2024
d0c3c88
added changes in the master for draft boundary (#1002)
Bhavya-egov Jul 2, 2024
1f02a17
updated docker file
jagankumar-egov Jul 2, 2024
ddecfa9
updated workbench docker
jagankumar-egov Jul 2, 2024
f48f044
updated the workspace
jagankumar-egov Jul 2, 2024
05aa759
Update webpack.config.js
jagankumar-egov Jul 3, 2024
43e2f40
Update buildWorkbenchUI.yml
jagankumar-egov Jul 3, 2024
22ad147
Update package.json
jagankumar-egov Jul 3, 2024
cbf898e
updated the log
jagankumar-egov Jul 3, 2024
0828c3c
Update Dockerfile
jagankumar-egov Jul 3, 2024
4995274
Added Dashboard Icon & Commented harcoded check (#1010)
nabeelmd-eGov Jul 3, 2024
dc7b6d2
Updated the Utilites package updated for Kibana dashboard integratio…
nipunarora-eGov Jul 9, 2024
6c66763
Update package.json (#1023)
nipunarora-eGov Jul 9, 2024
11a65fc
Update package.json (#1025)
nipunarora-eGov Jul 9, 2024
0b95620
Added Environment support to use mdms v1 or v2 based on config and Wo…
aaradhya-egov Jul 10, 2024
b5829d4
changed version of workbench and libraries (#1036)
aaradhya-egov Jul 10, 2024
96e6dce
changed version and fix config issue (#1039)
aaradhya-egov Jul 10, 2024
5ce4b59
Workbench Enahancement to have referenced dropdown as popup where dat…
Swathi-eGov Jul 12, 2024
1851c03
update libraries 1.8.3 commented the renderTenantLogos logic due to m…
Swathi-eGov Jul 16, 2024
290430e
fixed sor selection issue fix (#1090)
Swathi-eGov Jul 17, 2024
5b9321d
fixed serach popup issue (#1162)
Swathi-eGov Jul 26, 2024
39d6755
HCM AdminConsole v0.2 merge to master (#1250)
nabeelmd-eGov Aug 8, 2024
25f049b
webpack issue fix (#1259)
nabeelmd-eGov Aug 8, 2024
b6249df
added buildconfig.yml for sandbox (#1268)
nabeelmd-eGov Aug 12, 2024
d5b9fa6
updated versions for v0.2 admin console in master (#1273)
Bhavya-egov Aug 13, 2024
6f08f64
added isprojectDateUpdateFlag (#1274)
Bhavya-egov Aug 13, 2024
f9c2e04
added v0.2 admin console css changes (#1303)
Bhavya-egov Aug 20, 2024
9c6c588
FIx health-project taken from PROJECT_SERVICE_PATH (#1318)
suryansh-egov Aug 22, 2024
a9546b5
Fixed the project service dynamic path issue (#1321)
jagankumar-egov Aug 23, 2024
ef1ee46
updated build-config.yaml
talele08 Sep 4, 2024
3b5ede7
ISTE-403 -Schema Update Based on Order (#1378)
Hari-egov Sep 11, 2024
62b489b
Solved navigation issue between edit and view screen (#1436)
mukund-egov Sep 27, 2024
be97b68
Added branch name protection
jagankumar-egov Oct 23, 2024
a388938
Update CODEOWNERS
jagankumar-egov Oct 23, 2024
7757047
Update CODEOWNERS
jagankumar-egov Oct 23, 2024
a8e59bc
UCEM-765 : Updating breadcrumb component to handle external api redir…
Tulika-eGov Oct 24, 2024
ee4cb13
updated the dependency to fix the build issue
jagankumar-egov Oct 24, 2024
7423347
Bug fix component publish issue fix (#1661)
jagankumar-egov Oct 24, 2024
88e96b9
added build config for meghalaya-ui (#1972)
Lokendra-egov Dec 4, 2024
b3c48dc
HCM Admin Console v0.3 & Microplan v0.1 Release UI Code changes (#1…
jagankumar-egov Dec 9, 2024
81fdfaf
Updated the branch name validation (#1997)
jagankumar-egov Dec 10, 2024
ca7b0cc
Updated the branch name validator to have title check as well (#2002)
jagankumar-egov Dec 10, 2024
04ede4e
FEATURE/HCMPRE-1 Updated the rules (#2003)
jagankumar-egov Dec 10, 2024
cf05c86
BUGFIX/HCMPRE-1246 :: boundary related issue (#1998)
suryansh-egov Dec 10, 2024
9c780fe
BUGFIX/HCMPRE-1547 updated workflow error message to generic code (#2…
nipunarora-eGov Dec 10, 2024
66ebfc7
BUGFIX/ISSUE-2007 Build issue fix for #2007 (#2008)
jagankumar-egov Dec 10, 2024
3b51c0a
Bugfix/hcmpre 1140 (#2018)
Swathi-eGov Dec 12, 2024
6f6f7d5
BUGFIX/HCMPRE-1634: fix for versions #149 #158 (#2031)
jagankumar-egov Dec 16, 2024
60b5fb2
FIX : Fixed the branch name validator config
jagankumar-egov Dec 16, 2024
b1b6f06
FEATURE/HCMPRE-1717 :: added payment module build (#2059)
jagankumar-egov Dec 19, 2024
a34f1db
BUGFIX/HCMPRE-1717 :: Updated build config & HCMPRE-1283: added the c…
jagankumar-egov Dec 19, 2024
4971c2d
BUGFIX/HCMPRE-965 : UI/UX fixed campaign name tag (#2069)
Bhavya-egov Dec 23, 2024
f0e3c2f
BUGFIX/HCMPRE-1717 :: FIxed the publish config file (#2105)
jagankumar-egov Jan 6, 2025
0fc9f4e
BUGFIX/HCMPRE-965 : Incremented css version (#2106)
Bhavya-egov Jan 6, 2025
47d09ea
BUGFIX/HCMPRE-1869 : fixed IRS NAN issue (#2127)
Bhavya-egov Jan 10, 2025
fc14977
BUGFIX/HCMPRE-1866 : Updated versions (#2126)
Swathi-eGov Jan 10, 2025
f7125b6
FEATURE/HCMPRE-1915 : Fixed number of cycles in update flow (#2135)
Bhavya-egov Jan 16, 2025
41f5fe2
BUGFIX/HCMPRE-1955 : Updated versions of libraries and core (#2146)
Swathi-eGov Jan 21, 2025
d42d12e
FEATURE/HCMPRE-1852 :: Consolidated Common UI & add Console build
jagankumar-egov Jan 27, 2025
bcb3a79
RELEASE/HCMPRE-1923 : Microplanning 0.2 release (#2134)
nipunarora-eGov Feb 3, 2025
71f636a
BUGFIX/HCMPRE-2243 : Showing only supported campaign types and minor …
nipunarora-eGov Feb 6, 2025
04ba805
BUGFIX/HCMPRE-2253 : Fixed Button Issue in PopDataTable Screen (#2195…
Swathi-eGov Feb 6, 2025
5fdb5bd
RELEASE/HCMPRE-1990 : HCM 1.7 :: Console v0.3.1 , Microplan v0.2.0 & …
jagankumar-egov Feb 14, 2025
de648bc
RELEASE/HCMPRE-1990 : HCM 1.7 :: Updated the version and log files
jagankumar-egov Feb 14, 2025
849820f
BUGFIX/HCMPRE-2349:Assigned to All correction on applying filters + d…
abishekTa-egov Feb 28, 2025
6c2d927
BUGFIX/HCMPRE-2443 : Fixed unwanted api call (#2262)
Bhavya-egov Mar 10, 2025
3033331
BUGFIX/HCMPRE-2445 : Fixed unable to configure checklist issue (#2268)
Bhavya-egov Mar 11, 2025
99855a3
BUGFIX/HCMPRE-2422 : UI UX Audit fixes of v0.3.1 console patch releas…
suryansh-egov Mar 12, 2025
7994981
FEATURE/HCMPRE-1001 : Added localization code for Rows Per Page text …
Swathi-eGov Mar 17, 2025
21ae428
BUGFIX/HCMPRE-2344 : Fix Village Count showing as zero (#2275)
abishekTa-egov Mar 17, 2025
7109dfe
BUGFIX/HCMPRE-0111: Preview for summary screen (#2278)
abishekTa-egov Mar 18, 2025
b85fc31
BUGFIX/HCMPRE-111 : Payment module Patch fixes and comment pop up add…
rachana-egov Mar 19, 2025
2389816
BUGFIX/HCMPRE-2500: import fixes in master (#2285)
nabeelmd-eGov Mar 20, 2025
6f0f5d5
Create build.yaml (#2517)
nikhilmulinti Jun 9, 2025
2dbbc10
Release v0.4 HCM Console :: Console web changes #1674 (#2763)
nabeelmd-eGov Jul 14, 2025
910419d
BUGFIX:: v0.4 console web build issue resolved (#2782)
nabeelmd-eGov Jul 14, 2025
e3a2446
Updated the version number of the web app (#2783)
nabeelmd-eGov Jul 14, 2025
a22677e
BUGFIX/HCMPRE-2111 : Added changes (#2785)
Bhavya-egov Jul 14, 2025
fc193b7
RELEASE Microplanning v0.3 patch changes (#2787)
Swathi-eGov Jul 15, 2025
2dce68c
HCM v1.8- HRMS & PGR Tech Debts (#2790)
Ramkrishna-egov Jul 15, 2025
4f9f5d9
BUGFIX/HCMPRE-1812 : Removal of pgr and hrms and patch fix (#2795)
Bhavya-egov Jul 15, 2025
c290c12
FEATURE/HCMPRE-0001 : Build issue check (#2802)
Swathi-eGov Jul 16, 2025
dfb8b27
BUGFIX::HCMPRE-001 :Build issue fix for Payments-ui (#2803)
Ramkrishna-egov Jul 16, 2025
00c69b7
RELEASE :: v0.4 console release changes of campaign manager module (#…
jagankumar-egov Jul 16, 2025
2004740
BUGFIX::HCMPRE-0001 :Added the missing css from console
jagankumar-egov Jul 17, 2025
e4339c2
BUGFIX::HCMPRE-0001 :Added the missing css from console updated versi…
jagankumar-egov Jul 17, 2025
2c31bf9
BUGFIX::HCMPRE-0001:: Fixed the CSS Customisation issue
jagankumar-egov Jul 17, 2025
8b17e3b
HCMPRE-2925,HCMPRE-2942 (#2823)
pitabash-eGov Jul 17, 2025
cbe112c
merge to master with app config changes (#2815)
nabeelmd-eGov Jul 17, 2025
7b9a27b
removed create from modules (#2827)
Bhavya-egov Jul 17, 2025
7b0878e
BUGFIX/HCMPRE-2994:Console Fixes - Localisation fixes (#2831)
nabeelmd-eGov Jul 18, 2025
d0e6f24
BUGFIX/HCMPRE-2960, HCMPRE-2998,HCMPRE- 3004:: Bug Bash bug fixes (#2…
Ramkrishna-egov Jul 21, 2025
2501572
BUGFIX-HRMS,PGR:: Module Not Found error fix (#2835)
Ramkrishna-egov Jul 21, 2025
1556aa2
BUGFIX/ HCMPRE-2933 :: APP config bug bash issue fix (#2841)
nabeelmd-eGov Jul 21, 2025
7e85ed8
HCMPRE-2998:: Replaced Filter button with Search, Clone Campaign Conf…
Ramkrishna-egov Jul 22, 2025
3dd8c12
* BUGFIX/HCMPRE-1815 : Fix delivery screens issue Delivery (#2845)
Bhavya-egov Jul 22, 2025
cd55878
BUGFIX/HCMPRE-1816 : Added loader and toast message for file store (#…
Bhavya-egov Jul 22, 2025
f9dbd0b
BUGFIX/HCMPRE-2933 : Deselect feature issue fix (#2848)
nabeelmd-eGov Jul 22, 2025
401fbd8
BUGFIX/HCMPRE-2927: Next Button disable on last page and auto save wh…
nabeelmd-eGov Jul 23, 2025
9abac12
BUGFIX/HCMPRE-1816 : Fixed pop up dropdown issue (#2852)
Bhavya-egov Jul 23, 2025
dad1798
BUGFIX/HCMPRE-2804: app configuration localisation optimisation fixes…
nabeelmd-eGov Jul 24, 2025
cabb2e7
BUGFIX/HCMPRE-1817 : Fixed checklist update, search cache (#2855)
Bhavya-egov Jul 24, 2025
dfc1a56
BUGFIX/HCMPRE-1818 : Integrated is project date with ui (#2856)
Bhavya-egov Jul 24, 2025
f8ee9e1
BUGFIX/HCMPRE-2927: UI COMPONENT VERSION UPGRADE (#2857)
nabeelmd-eGov Jul 24, 2025
7a67c4e
FEATURE/HCMPRE-1820 : Fixed start date (#2859)
Bhavya-egov Jul 24, 2025
c703bae
BUGFIX/HCMPRE-2927: date with boundary search with reference ID (#2861)
nabeelmd-eGov Jul 24, 2025
5d083bc
FEATURE/HCMPRE-2816 :: fields mandatory can't be made non mandatory &…
pitabash-eGov Jul 25, 2025
be6e5c0
BUGFIX/HCMPRE-2927: localisation fix in app module screen (#2862)
nabeelmd-eGov Jul 25, 2025
530a1fb
BUGFIX/HCMPRE-2927: campaign create loc fix (#2864)
nabeelmd-eGov Jul 25, 2025
e268138
BUGFIX/HCMPRE-2927: Fix campaign manager app preview and boundary rel…
nabeelmd-eGov Jul 25, 2025
15d2484
BUGFIX/HCMPRE-2950: fix end date issue (#2866)
pitabash-eGov Jul 25, 2025
4b9ed45
BUGFIX:: css fix (#2873)
Bhavya-egov Jul 28, 2025
8813a0e
BUGFIX/HCMPRE-2927: Fix App Configuration Redesign Submit when save (…
nabeelmd-eGov Jul 28, 2025
085ce0b
BUGFIX/HCMPRE-2950::campaign start date and end date issue fixed (#2896)
pitabash-eGov Jul 29, 2025
a71aab5
BUGFIX/Git :: file upload issue (#2898)
pitabash-eGov Jul 29, 2025
51d99a2
BUGFIX/HCMPRE-1820 : Fixed delivery date and campaign name regex (#2905)
Bhavya-egov Jul 30, 2025
17a1c65
BUGFIX/HCMPRE-2496:: old navigation links were removed
jagankumar-egov Jul 30, 2025
4cdf6ba
BUGFIX/HCMPRE-1820 : Fixed change past and future date issue (#2907)
Bhavya-egov Jul 30, 2025
e6dc63c
BUGFIX/HCMPRE-1821 : Fixed delivery num (#2912)
Bhavya-egov Jul 30, 2025
020ca54
DIGIT-Frontend/issues/2900 (#2916)
pitabash-eGov Jul 30, 2025
722255c
BUGFIX/HCMPRE-1820 : Fixed update mapping issue (#2915)
Bhavya-egov Jul 30, 2025
ee58616
FEATURE/HCMPRE-1821 : Added info for campaign name (#2920)
Bhavya-egov Jul 30, 2025
26f442e
BUGFIX/HCMPRE-1821 : Fixed bednet cond (#2922)
Bhavya-egov Jul 31, 2025
7bfed00
localisation key changed for user mapping (#2924)
pitabash-eGov Jul 31, 2025
ae417ed
BUGFIX/HCMPRE-1822 : Fixed delivery cond and campaign name (#2925)
Bhavya-egov Jul 31, 2025
fdc616c
FEATURE/HCMPRE-2876 : Added Referal flow changes and fox for custom c…
Swathi-eGov Jul 31, 2025
49a94a5
BUGFIX/:: Added null check for hrms actions mdms data (#2933)
Ramkrishna-egov Jul 31, 2025
6d802d1
FEATURE/HCMPRE-2877 : Added delivery popup changes (#2935)
Swathi-eGov Aug 1, 2025
067add3
BUGFIX/HCMPRE-2876 : Regex fix for campaign name - max characters (#2…
Swathi-eGov Aug 1, 2025
631a70f
BUGFIX/ISSUE-2328: Localisation Search Query Fixes (#2939)
nabeelmd-eGov Aug 1, 2025
f926d3d
BUGFIX/HCMPRE-2977 : Regex fix for cloned campaign - campaign name (#…
Swathi-eGov Aug 1, 2025
430588f
ISSUE-2906: App config caching issue fix (#2942)
nabeelmd-eGov Aug 1, 2025
df77ad6
BUGFIX/GIT- 2914:: Corrected user mapping validation to ensure active…
pitabash-eGov Aug 4, 2025
0cb1fa4
Added complaint changes
Bhavya-egov Aug 4, 2025
607e968
BUGFIX/GIT-2945:: Removed Cloning form configs in UI (#2948)
Ramkrishna-egov Aug 4, 2025
852e280
BUGFIX/HCMPRE-2936 : Scroll issue fix for template screens (#2950)
Swathi-eGov Aug 4, 2025
7a37928
BUGFIX/HCMPRE-0000 : Change in delivery condition (#2952)
Swathi-eGov Aug 4, 2025
2ed50b9
BUGFIX: //Fix for Project context path (#2953)
Ramkrishna-egov Aug 4, 2025
deb71e7
ISSUE-2838: App config saving issue fix (#2955)
nabeelmd-eGov Aug 4, 2025
910da7d
FEATURE/HCMPRE-2496:: Updated the component & libraries version to se…
jagankumar-egov Aug 5, 2025
68dce72
BUGFIX/HCMPRE-2496:: Updated the component & libraries version to see…
jagankumar-egov Aug 5, 2025
e0b9b28
HCMPRE-3067::Toast Color Fix (#2960)
Ramkrishna-egov Aug 5, 2025
58f8988
BUGFIX/HCMPRE-2941 : Boundary Changes Fixes (#2961)
Swathi-eGov Aug 5, 2025
6232c6f
BUGFIX/Updated header for CampaignAssignment Inbox and fixed PGR Boun…
Ramkrishna-egov Aug 6, 2025
3cd151a
FEATURE/HCMPRE-2947 : Cancel Campign UI Integration (#2964)
Swathi-eGov Aug 6, 2025
45c5ffe
Merge branch 'master' into console-V0.5
Swathi-eGov Aug 6, 2025
230df89
Fixed Syntax Issue
Swathi-eGov Aug 6, 2025
f150f8b
BUGFIX/HCMPRE-2496:: Updated component versions and added task for ea…
jagankumar-egov Aug 6, 2025
5977b2a
FEATURE/HCMPRE-2496:: Updated component versions to support accessibi…
jagankumar-egov Aug 6, 2025
9bfadd6
BUGFIX/Updated key for project context path (#2967)
Ramkrishna-egov Aug 6, 2025
7351c67
BUGFIX/HCMPRE-2496:: Updated component versions to support accessibility
jagankumar-egov Aug 6, 2025
af9beee
BUGFIX/Added PGR Context path to refer from global config (#2968)
Ramkrishna-egov Aug 6, 2025
6e9194d
Merge branch 'master' into console-V0.5
Swathi-eGov Aug 6, 2025
90a65cf
FEATURE/HCMPRE-2496:: Added Map view components for project deliverables
jagankumar-egov Aug 6, 2025
ad486aa
Merge branch 'master' into console-V0.5
Swathi-eGov Aug 6, 2025
ab7a0e3
BUGFIX/HCMPRE-2496: Added Map view components
jagankumar-egov Aug 6, 2025
bc57955
BUGFIX/HCMPRE-2496: Updated the console build package
jagankumar-egov Aug 6, 2025
a0cc3f4
Merge branch 'master' into console-V0.5
NabeelAyubee Aug 6, 2025
780799c
BUGFIX/Fixed Campaign Dates Caching issue and End date min validation…
Ramkrishna-egov Aug 6, 2025
ff44c55
Merge branch 'master' into console-V0.5
Swathi-eGov Aug 8, 2025
eaa1fb3
FEATURE/HCMPRE-2947 : Cancel Campaign UI Integration (#2977)
Swathi-eGov Aug 8, 2025
8281f6a
BUGFIX/HCMPRE-2496: Updated the package versions & console build enab…
jagankumar-egov Aug 8, 2025
2bcee17
Merge branch 'master' into console-V0.5
Swathi-eGov Aug 8, 2025
3f516d6
FEATURE/HCMPRE-2958 : Added dependency field changes (#2980)
Swathi-eGov Aug 8, 2025
2a3814c
BUGFIX/HCMPRE-9999 : Updated campaign name pattern (#2982)
Swathi-eGov Aug 8, 2025
747151d
Merge branch 'master' into console-V0.5
Swathi-eGov Aug 8, 2025
c671b13
Fixed Compile issues
Ramkrishna-egov Aug 11, 2025
d3672b5
GIT-2888:: Fetaures/Properties changes and HRMS Fixes (#2959)
Ramkrishna-egov Aug 11, 2025
5272fef
Fixed Acxknowledgement page rendering and Accept visibilityCondition …
Ramkrishna-egov Aug 12, 2025
4ffc60e
Added complaint components
Ramkrishna-egov Aug 13, 2025
4bdcd7b
Added autro fill condition to field properties
Ramkrishna-egov Aug 13, 2025
218abb2
Updated Complaint Inbox Template name
Ramkrishna-egov Aug 18, 2025
468c4e9
Fixed FormConfig update issue
Ramkrishna-egov Aug 18, 2025
f42593c
Updated conditionalNavigationKey in Form Config to acept empty array …
Ramkrishna-egov Aug 18, 2025
fdfa5a3
FEATURE-2881:: Dependent Field and FEATURE-2888- Fieald/Feature Prope…
Ramkrishna-egov Aug 19, 2025
ff82abd
FEATURE-2972:: Assesment Checklist and Registration Feature Propertie…
Ramkrishna-egov Aug 22, 2025
5ed78d4
Merge branch '19-console-V0.5' of https://github.com/egovernments/DIG…
Ramkrishna-egov Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
health/micro-ui/web/node_modules
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/bugfix_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Bugfix Request

#### JIRA ID
<!-- Provide a detailed description of the feature -->

#### Module
<!-- Provide a detailed description of the feature -->

#### Description
<!-- Provide a detailed description of the feature -->

### Root Cause
<!-- Describe the root cause of the bug. -->

#### Related Issues
<!-- Link any related GitHub issues here -->
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/feature_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Feature Request

#### JIRA ID
<!-- Provide a detailed description of the feature -->

#### Module
<!-- Provide a detailed description of the feature -->

#### Description
<!-- Provide a detailed description of the feature -->

#### Related Issues
<!-- Link any related GitHub issues here -->
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/release_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Release Request

#### JIRA ID
<!-- Provide a detailed description of the feature -->

#### Module
<!-- Provide a detailed description of the feature -->

#### Description
<!-- Provide a detailed description of the feature -->

#### List of Features
<!-- Link any related GitHub issues here -->

#### List of Issues
<!-- Link any related GitHub issues here -->
25 changes: 25 additions & 0 deletions .github/hooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh

# Get the current branch name
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)

# Define the pattern
PATTERN="^(FEATURE|BUGFIX|RELEASE)\/(HCMPRE|DPG|SN)-[0-9]{1,5}$"

# Check if the branch name matches the pattern
if [[ ! "$BRANCH_NAME" =~ $PATTERN ]]; then
echo "Branch name '$BRANCH_NAME' does not follow the correct pattern:"
echo " - FEATURE/HCMPRE-<TICKET_NO>"
echo " - FEATURE/DPG-<TICKET_NO>"
echo " - FEATURE/SN-<TICKET_NO>"
echo " - BUGFIX/HCMPRE-<TICKET_NO>"
echo " - BUGFIX/DPG-<TICKET_NO>"
echo " - BUGFIX/SN-<TICKET_NO>"
echo " - RELEASE/HCMPRE-<TICKET_NO>"
echo " - RELEASE/DPG-<TICKET_NO>"
echo "Where <TICKET_NO> is a number between 0 and 99999."
exit 1
fi

# If the pattern matches, allow the push
exit 0
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Choose the appropriate template for your PR:


#### Feature/Bugfix Request

**JIRA ID**
<!-- Provide the JIRA ID or task reference -->

**Module**
<!-- Specify the module impacted by the feature -->

**Description**
<!-- Provide a detailed description of the feature -->

79 changes: 79 additions & 0 deletions .github/workflows/branch-name-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Branch and PR Name Validation

on:
push:
branches:
- master
- develop
- console

pull_request:
branches:
- master
- develop
- console

types:
- opened
- edited
- reopened

jobs:
validate-names:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Validate branch name
run: |
# Determine the branch name
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
branch_name="${GITHUB_HEAD_REF}"
else
branch_name="${GITHUB_REF#refs/heads/}"
fi

# Define the branch name pattern
PREFIXES="FEATURE|BUGFIX|RELEASE"
PROJECTS="HCMPRE|DPG|SN|DUCE|HCMCONSOLE"
TICKET_PATTERN="[0-9]{1,5}"
BRANCH_PATTERN="^($PREFIXES)\/($PROJECTS)-$TICKET_PATTERN$"

# Validate the branch name
if [[ ! "$branch_name" =~ $BRANCH_PATTERN ]]; then
echo "Branch name '$branch_name' does not follow the correct pattern: $PREFIXES/$PROJECTS-<TICKET_NO> where <TICKET_NO> is $TICKET_PATTERN"
exit 1
fi

- name: Validate PR title
if: ${{ github.event_name == 'pull_request' }} # Only for PR validation
run: |
# Define constants
PREFIXES="FEATURE|BUGFIX|RELEASE"
PROJECTS="HCMPRE|DPG|SN|DUCE|HCMCONSOLE"
TICKET_PATTERN="[0-9]{1,5}"
TITLE_PATTERN="^($PREFIXES)\/($PROJECTS)-$TICKET_PATTERN.*$"
MIN_TITLE_LENGTH=30


# Fetch the latest PR title dynamically
pr_title=$(curl -s https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }} | jq -r '.title')
echo "Fetched PR title: $pr_title"

# Validate the PR title
if [[ ! "$pr_title" =~ $TITLE_PATTERN ]]; then
echo "PR title '$pr_title' does not follow the correct pattern: $PREFIXES/$PROJECTS-<TICKET_NO> : <Description> where <TICKET_NO> is $TICKET_PATTERN"
exit 1
fi

# Validate the PR title length
if [[ ${#pr_title} -lt $MIN_TITLE_LENGTH ]]; then
echo "PR title '$pr_title' is too short. It must be at least $MIN_TITLE_LENGTH characters long, excluding the default pattern or ticket number."
exit 1
fi

echo "PR title validation passed."



Loading