Repository navigation
feat(ci/cd): Improve deployment pipeline efficiency #1158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6fdb7ff
feat(*): improve ci/cd pipeline
Ayush8923 8e46360
fix(*): update the deployment script
Ayush8923 91a321e
Merge branch 'main' into feat/improve-ci/cd-pipeline
Ayush8923 c63123b
fix(*): update the deployment script
Ayush8923 896519e
Merge branch 'feat/improve-ci/cd-pipeline' of https://github.com/Proj…
Ayush8923 daed54e
fix(*): added the docker build checks in the ci
Ayush8923 0a17a75
fix(*): update the timeout min
Ayush8923 28f1ce7
Merge branch 'main' into feat/improve-ci/cd-pipeline
Ayush8923 7625068
fix(*): few updates on the deploy staging workflow
Ayush8923 09394db
fix(*): pr title checks updates
Ayush8923 afb39d7
Merge branch 'main' into feat/improve-ci/cd-pipeline
Ayush8923 4221a96
fix(*): added the task defination in the deploy to ecs cmd
Ayush8923 65f396c
Merge branch 'feat/improve-ci/cd-pipeline' of https://github.com/Proj…
Ayush8923 067bdaf
Merge branch 'main' into feat/improve-ci/cd-pipeline
Ayush8923 9779870
Merge branch 'main' into feat/improve-ci/cd-pipeline
Ayush8923 0fd527f
fix(*): added the healthcheck wait cmd
Ayush8923 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: PR Title Check | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, edited, reopened, synchronize] | ||
|
|
||
| permissions: | ||
| pull-requests: read | ||
|
|
||
| concurrency: | ||
| group: pr-title-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| validate: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Validate PR title follows Conventional Commits | ||
| env: | ||
| PR_TITLE: ${{ github.event.pull_request.title }} | ||
| run: | | ||
| # type(scope): summary — scope optional, `!` marks a breaking change. | ||
| # Keep types in sync with what the PR formatter is allowed to emit. | ||
| PATTERN='^(feat|fix|chore|docs|refactor|perf|test|ci|build|style|revert)(\([a-z0-9 _/-]+\))?!?: .+' | ||
|
|
||
| if echo "$PR_TITLE" | grep -qE "$PATTERN"; then | ||
| echo "PR title is valid." | ||
| exit 0 | ||
| fi | ||
|
|
||
| echo "::error title=Invalid PR title::'$PR_TITLE' must follow Conventional Commits — 'type(scope): summary' (scope optional). Allowed types: feat, fix, chore, docs, refactor, perf, test, ci, build, style, revert." | ||
| exit 1 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Align the title regex with the repository policy.
CONTRIBUTING.mdLines 64-67 documentsModule Name: One liner of changes, but this pattern accepts only lowercase Conventional Commits titles. A PR that follows the documented format will fail this check. Update the documentation and announce the migration, or changePATTERNto accept the documented format before making this check required.🤖 Prompt for AI Agents