Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
faf8b84
Refactor: Remove GitHub Actions workflows for branch name validation,…
PeshoOReda Jun 22, 2025
67ca7ad
feat: Update dependencies and add localization support
PeshoOReda Jun 23, 2025
c4557c2
fix: Remove unused code in meals_retrofit_client test
PeshoOReda Jun 23, 2025
32da7b5
fix: Clean up code formatting and improve readability in various files
PeshoOReda Jun 23, 2025
cece112
Refactor meal details feature to use new details_food module
PeshoOReda Jun 24, 2025
abaf124
feat: Implement meal details feature with Retrofit client and data so…
PeshoOReda Jun 24, 2025
18a6a0c
refactor(meal_details): move meal details functionality to meals feature
PeshoOReda Jun 24, 2025
1460fb9
refactor(meal_details): move meal details functionality to meals feature
PeshoOReda Jul 1, 2025
bf5e316
refactor(meal_details): move meal details functionality to meals feature
PeshoOReda Jul 1, 2025
ab8f0e5
feat(meal_details): enhance meal details screen with argument handlin…
EslamMagdy12 Jul 19, 2025
e1e8a29
Merge remote-tracking branch 'origin/development' into feature/fit-10…
EslamMagdy12 Jul 19, 2025
7ac2bcf
feat(meal-details): add meal details screen and related components
EslamMagdy12 Jul 19, 2025
a7d4cb2
fix(auth-repo): correct expected result type in registration test
EslamMagdy12 Jul 20, 2025
ceaa855
fix(ingredient-body): remove unnecessary check for empty ingredients
EslamMagdy12 Jul 24, 2025
4b53608
feat(meal-navigation): add back button to meal image and refactor mea…
EslamMagdy12 Jul 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .github/workflows/branch_name_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,24 @@ jobs:
BRANCH_NAME="${{ github.head_ref }}"
echo "Branch name: $BRANCH_NAME"

# Allowed types
# Allowed prefixes
PREFIXES="feature|fix|hotfix|refactor|bugfix|release|docs|perf|test|chore"

# Allowed special branch names
ALLOWED_BRANCHES="main|development"
ALLOWED_BRANCHES="main|developement"

# Check if branch is explicitly allowed
if [[ "$BRANCH_NAME" =~ ^($ALLOWED_BRANCHES)$ ]]; then
echo "✅ Allowed branch name: $BRANCH_NAME"
exit 0
fi

# Regex pattern: type/fit-123-task-name
PATTERN="^($PREFIXES)/fit-[0-9]+(-[a-z0-9\-]+)*$"

# Validate branch name
if [[ ! "$BRANCH_NAME" =~ $PATTERN ]]; then
# Validate branch name format
if [[ ! "$BRANCH_NAME" =~ ^($PREFIXES)/[a-z0-9\-]+$ ]]; then
echo "❌ Invalid branch name: $BRANCH_NAME"
echo "Branch names must follow the pattern: type/fit-123-task-name"
echo "Examples: feature/fit-456-login-api, fix/fit-789-crash-issue"
echo "Allowed types: $PREFIXES"
echo "Allowed special branches: main, development"
echo "Branch names must follow the pattern: feature/meaningful-name, fix/issue-description, etc."
echo "Allowed special branches: main, develop"
echo "Example: feature/authentication-module, fix/user-login-bug, bugfix/api-timeout-issue"
exit 1
fi

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flutter-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
- closed
- reopened
- unlocked


jobs:
test:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull_request_title_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
PR_title="${{ github.event.pull_request.title }}"

# Define regex to validate PR title format
pattern='^(Fix|Release|Hotfix|Test|Feature|Docs|Chore|Refactor|Bugfix|Perf)\/FIT-[0-9]+-.+'
pattern='^(Fix|Release|Hotfix|Test|Feature|Docs|Chore|Refactor|Bugfix|Perf)\/TA-[0-9]+-.+'

# Validate PR title using regex
if ! [[ "$PR_title" =~ $pattern ]]; then
echo "❌ PR title does not match the expected format: 'type/FIT-Number-TaskName'"
echo "Expected format: 'Feature/FIT-4-Initialize-Project'"
echo "❌ PR title does not match the expected format: 'type/TA-Number-TaskName'"
echo "Expected format: 'Feature/TA-4-Initialize-Project'"
echo "Allowed types: fix, release, feat, hotfix, build, test, feature"
exit 1
fi
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/sonar_qube_cloud.yaml

This file was deleted.

Loading
Loading