Skip to content

Commit

Permalink
Merge branch 'main' into roshan_86cvyuukh
Browse files Browse the repository at this point in the history
  • Loading branch information
RoshanMhatre committed Aug 16, 2024
2 parents db7263f + 6666cc0 commit 1dc82ea
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr_checks_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
pr_checks:
title:
- name: 'prefix_check'
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: '(?i)app.clickup.com'
message_if_not_matching: 'PR description must contain a link to a ClickUp (case-insensitive)'
7 changes: 7 additions & 0 deletions reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3544,6 +3544,7 @@ components:
- is_physical_bill_submitted
- physical_bill_submitted_at
- invoice_number
- is_duplicate_present
properties:
id:
allOf:
Expand Down Expand Up @@ -4029,6 +4030,12 @@ components:
example: 1234
commute_details:
$ref: '#/components/schemas/commute_details'
is_duplicate_present:
type: boolean
nullable: false
description: |
Whether duplicate expenses is detected for this expense or not.
example: true
source:
type: string
description: |
Expand Down
7 changes: 7 additions & 0 deletions reference/approver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1815,6 +1815,7 @@ components:
- is_physical_bill_submitted
- physical_bill_submitted_at
- invoice_number
- is_duplicate_present
properties:
id:
allOf:
Expand Down Expand Up @@ -2300,6 +2301,12 @@ components:
example: 1234
commute_details:
$ref: '#/components/schemas/commute_details'
is_duplicate_present:
type: boolean
nullable: false
description: |
Whether duplicate expenses is detected for this expense or not.
example: true
source:
type: string
description: |
Expand Down
7 changes: 7 additions & 0 deletions reference/spender.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1655,6 +1655,7 @@ components:
- is_physical_bill_submitted
- physical_bill_submitted_at
- invoice_number
- is_duplicate_present
properties:
id:
allOf:
Expand Down Expand Up @@ -2140,6 +2141,12 @@ components:
example: 1234
commute_details:
$ref: '#/components/schemas/commute_details'
is_duplicate_present:
type: boolean
nullable: false
description: |
Whether duplicate expenses is detected for this expense or not.
example: true
source:
type: string
description: |
Expand Down
7 changes: 7 additions & 0 deletions src/components/schemas/expense.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ expense_out:
- is_physical_bill_submitted
- physical_bill_submitted_at
- invoice_number
- is_duplicate_present
properties:
id:
allOf:
Expand Down Expand Up @@ -569,6 +570,12 @@ expense_out:
example: 1234
commute_details:
$ref: './fields.yaml#/commute_details'
is_duplicate_present:
type: boolean
nullable: false
description: |
Whether duplicate expenses is detected for this expense or not.
example: true

expense_in:
type: object
Expand Down

0 comments on commit 1dc82ea

Please sign in to comment.