Skip to content

Commit

Permalink
ci: update schemas/* workflows to trigger only for respective paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dheerajkhardwal committed Apr 27, 2021
1 parent 4a0295f commit 0759892
Show file tree
Hide file tree
Showing 24 changed files with 72 additions and 72 deletions.
6 changes: 3 additions & 3 deletions .github/schemas-action-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: DIRECTORY
on:
push:
branches: [ main ]
# paths:
# - 'schemas/DIRECTORY/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/DIRECTORY/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/DIRECTORY/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_alternative_investment_funds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: alternative_investment_funds
on:
push:
branches: [ main ]
# paths:
# - 'schemas/alternative_investment_funds/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/alternative_investment_funds/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/alternative_investment_funds/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_bonds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: bonds
on:
push:
branches: [ main ]
# paths:
# - 'schemas/bonds/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/bonds/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/bonds/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_certificates_of_deposit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: certificates_of_deposit
on:
push:
branches: [ main ]
# paths:
# - 'schemas/certificates_of_deposit/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/certificates_of_deposit/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/certificates_of_deposit/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_collective_investment_schemes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: collective_investment_schemes
on:
push:
branches: [ main ]
# paths:
# - 'schemas/collective_investment_schemes/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/collective_investment_schemes/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/collective_investment_schemes/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_commercial_paper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: commercial_paper
on:
push:
branches: [ main ]
# paths:
# - 'schemas/commercial_paper/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/commercial_paper/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/commercial_paper/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_credit_card.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: credit_card
on:
push:
branches: [ main ]
# paths:
# - 'schemas/credit_card/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/credit_card/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/credit_card/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_debentures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: debentures
on:
push:
branches: [ main ]
# paths:
# - 'schemas/debentures/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/debentures/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/debentures/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_deposit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: deposit
on:
push:
branches: [ main ]
# paths:
# - 'schemas/deposit/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/deposit/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/deposit/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_employee_provident_fund.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: employee_provident_fund
on:
push:
branches: [ main ]
# paths:
# - 'schemas/employee_provident_fund/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/employee_provident_fund/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/employee_provident_fund/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_equity_shares.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: equity_shares
on:
push:
branches: [ main ]
# paths:
# - 'schemas/equity_shares/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/equity_shares/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/equity_shares/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_exchange_traded_funds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: exchange_traded_funds
on:
push:
branches: [ main ]
# paths:
# - 'schemas/exchange_traded_funds/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/exchange_traded_funds/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/exchange_traded_funds/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_government_securities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: government_securities
on:
push:
branches: [ main ]
# paths:
# - 'schemas/government_securities/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/government_securities/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/government_securities/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_indian_depository_receipts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: indian_depository_receipts
on:
push:
branches: [ main ]
# paths:
# - 'schemas/indian_depository_receipts/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/indian_depository_receipts/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/indian_depository_receipts/**'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: infrastructure_investment_trusts
on:
push:
branches: [ main ]
# paths:
# - 'schemas/infrastructure_investment_trusts/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/infrastructure_investment_trusts/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/infrastructure_investment_trusts/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_insurance_policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: insurance_policies
on:
push:
branches: [ main ]
# paths:
# - 'schemas/insurance_policies/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/insurance_policies/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/insurance_policies/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_mutual_funds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: mutual_funds
on:
push:
branches: [ main ]
# paths:
# - 'schemas/mutual_funds/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/mutual_funds/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/mutual_funds/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_national_pension_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: national_pension_system
on:
push:
branches: [ main ]
# paths:
# - 'schemas/national_pension_system/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/national_pension_system/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/national_pension_system/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_public_provident_fund.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: public_provident_fund
on:
push:
branches: [ main ]
# paths:
# - 'schemas/public_provident_fund/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/public_provident_fund/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/public_provident_fund/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_real_estate_investment_trusts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: real_estate_investment_trusts
on:
push:
branches: [ main ]
# paths:
# - 'schemas/real_estate_investment_trusts/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/real_estate_investment_trusts/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/real_estate_investment_trusts/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_recurring_deposit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: recurring_deposit
on:
push:
branches: [ main ]
# paths:
# - 'schemas/recurring_deposit/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/recurring_deposit/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/recurring_deposit/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_systematic_investment_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: systematic_investment_plan
on:
push:
branches: [ main ]
# paths:
# - 'schemas/systematic_investment_plan/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/systematic_investment_plan/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/systematic_investment_plan/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_term_deposit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: term_deposit
on:
push:
branches: [ main ]
# paths:
# - 'schemas/term_deposit/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/term_deposit/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/term_deposit/**'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schema_unit_linked_insurance_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: unit_linked_insurance_plan
on:
push:
branches: [ main ]
# paths:
# - 'schemas/unit_linked_insurance_plan/**'
# - utils/gh-actions/schemas-action-generator.sh
paths:
- 'schemas/unit_linked_insurance_plan/**'
- utils/gh-actions/schemas-action-generator.sh
pull_request:
paths:
- 'schemas/unit_linked_insurance_plan/**'
Expand Down

0 comments on commit 0759892

Please sign in to comment.