Skip to content
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

MERGING RELEASE branches #52

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sonar CI pipeline
on:
push:
branches:
- main
- 'release/**'
- develop
- 'feature/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sonar.projectKey=openimis_openimis-fe-social_protection_js
sonar.organization=openimis-1
sonar.projectName=openimis-fe-social_protection_js

sonar.sources=src
sonar.sourceEncoding=UTF-8
2 changes: 1 addition & 1 deletion src/pickers/BenefitPlanPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function BenefitPlanPicker(props) {
query BenefitPlanPicker(
$search: String, $first: Int, $isDeleted: Boolean
) {
benefitPlan(name_Icontains: $search, code_Icontains: $search, first: $first, isDeleted: $isDeleted) {
benefitPlan(search: $search, first: $first, isDeleted: $isDeleted, sortAlphabetically: true) {
edges {
node {
id
Expand Down
3 changes: 2 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@
"socialProtection.beneficiary.tasks.title": "Beneficiary Tasks",
"socialProtection.beneficiary.task.individual.id": "Individual",
"socialProtection.beneficiary.task.benefitPlan.id": "Benefit Plan",
"socialProtection.calculation.tasks.title": "Payment Verification Tasks"
"socialProtection.calculation.tasks.title": "Payment Verification Tasks",
"socialProtection.BenefitPlanPicker.placeholder": "Please select a Benefit Plan"
}
Loading