Skip to content

Commit

Permalink
Merge branch 'master' into VAPT-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunaj5 committed Jan 9, 2025
2 parents 3cfe9f9 + f890298 commit c9c688e
Show file tree
Hide file tree
Showing 685 changed files with 27,526 additions and 15,828 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"env": {
"es6": true
},
"root": true,
"ignorePatterns": [
"projects/**/*",
Expand Down Expand Up @@ -81,7 +84,11 @@
"@typescript-eslint/no-empty-function": ["error"],
"@typescript-eslint/no-empty-interface": ["error"],
"@typescript-eslint/no-inferrable-types": ["error"],
"no-unused-expressions": ["error"]
"no-unused-expressions": ["error"],
"no-console": ["error", { "allow": [""] }],
"custom-rules/one-interface-per-file": "error",
"custom-rules/one-enum-per-file": "error",
"custom-rules/prefer-semantic-extension-name": "error"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file specifies codeowners for different parts of the Fyle Mobile App.

* @Chethan-Fyle
* @Chethan-Fyle @arjunaj5
8 changes: 0 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
### Description
copilot:summary

copilot:poem

### Walkthrough
copilot:walkthrough

## Clickup
Please add link here

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/appflow-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
native-config: staging
upload-artifact: Android

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: download
with:
name: 'Android'
Expand All @@ -42,12 +42,13 @@ jobs:
app-id: 32316914
platform: iOS
build-type: development
build-stack: macOS - 2024.04 - Apple silicon
certificate: Fyle signing
environment: staging
native-config: prod
upload-artifact: ios

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: ios
with:
name: 'ios'
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/appflow-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
native-config: staging
upload-artifact: Android

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: download
with:
name: 'Android'
Expand All @@ -43,12 +43,13 @@ jobs:
app-id: 32316914
platform: iOS
build-type: development
build-stack: macOS - 2024.04 - Apple silicon
certificate: Fyle signing
environment: staging
native-config: prod
upload-artifact: ios

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: ios
with:
name: 'ios'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Create Release Branch
on:
schedule:
# Run every Friday at 11:30 AM UTC (5:00 PM IST)
- cron: '30 11 * * FRI'
# Run every Monday at 11:30 AM UTC (5:00 PM IST)
- cron: '30 11 * * MON'
jobs:
create-release-branch:
runs-on: ubuntu-latest
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Get Release Branch Name
run: |
echo "release_branch=mobile_release_$(date +%Y_%m_%d)" >> $GITHUB_ENV
echo "last_release_branch=mobile_release_$(date -d 'last friday' +%Y_%m_%d)" >> $GITHUB_ENV
echo "last_release_branch=mobile_release_$(date -d 'last monday' +%Y_%m_%d)" >> $GITHUB_ENV
- name: Check if release branch exists
run: |
if git ls-remote --exit-code --heads origin ${{env.release_branch}}; then
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/internal-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
app-id: 32316914
platform: iOS
build-type: App Store
build-stack: macOS - 2024.04 - Apple silicon
certificate: iOS Prod Release
environment: production
native-config: prod
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/manual-appflow-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
native-config: staging
upload-artifact: Android

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: download
with:
name: 'Android'
Expand All @@ -45,12 +45,13 @@ jobs:
app-id: 32316914
platform: iOS
build-type: development
build-stack: macOS - 2024.04 - Apple silicon
certificate: Fyle signing
environment: staging
native-config: prod
upload-artifact: ios

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: ios
with:
name: 'ios'
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/manual-appflow-with-inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
options:
- staging
- production
- blackwidow
- thanos
- thor
- drstrange
- hulk

jobs:
build-android:
Expand All @@ -33,7 +38,7 @@ jobs:
native-config: prod
upload-artifact: Android

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: download
with:
name: 'Android'
Expand Down Expand Up @@ -61,12 +66,13 @@ jobs:
app-id: 32316914
platform: iOS
build-type: development
build-stack: macOS - 2024.04 - Apple silicon
certificate: Fyle signing
environment: ${{ github.event.inputs.name }}
native-config: prod
upload-artifact: ios

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
id: ios
with:
name: 'ios'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-checks-config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pr_checks:
title:
- name: 'prefix_check'
regex: '^(fix|feat|test):'
message_if_not_matching: 'PR title must start with "fix:" or "feat:" or "test:"'
regex: '^(?i)(fix|feat|test|chore|refactor|build):'
message_if_not_matching: 'PR title must start with "fix:", "feat:", "chore:", "refactor:", or "test:" (case-insensitive)'

description:
- name: 'clickup_check'
regex: 'app.clickup.com'
message_if_not_matching: 'PR description must contain a link to a clickup'
regex: '(?i)app.clickup.com'
message_if_not_matching: 'PR description must contain a link to a ClickUp (case-insensitive)'
8 changes: 4 additions & 4 deletions .github/workflows/pr-size-label.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: PR Checks
name: Pull Request Labeling

on: [pull_request]

jobs:
size:
runs-on: ubuntu-latest
name: Label the size of PR
name: Label the PR size
steps:
- uses: "pascalgn/size-label-action@v0.4.3"
- uses: "pascalgn/size-label-action@v0.5.4"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -18,4 +18,4 @@ jobs:
"50": "M",
"250": "L",
"800": "XL"
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ package-lock.json
setup.sh
.env
.angular

# Sentry Config File
.sentryclirc

Loading

0 comments on commit c9c688e

Please sign in to comment.