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

fix: Pre-commit configuration #156

Merged
merged 6 commits into from
Nov 12, 2024
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
2 changes: 1 addition & 1 deletion .devops/deploy-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ stages:
testResultsFormat: 'JUnit'
testResultsFiles: '**/test-*.xml'
searchFolder: '$(System.DefaultWorkingDirectory)/result/'
testRunTitle: 'Publish Newman Test Results'
testRunTitle: 'Publish Newman Test Results'
11 changes: 11 additions & 0 deletions .github/workflows/payments-flow-docker-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
payments-flow-docker-snapshot:
runs-on: ubuntu-22.04
environment: dev
steps:
- name: 🔖 Checkout code
# https://github.com/actions/checkout/releases/tag/v4.2.1
Expand All @@ -30,3 +31,13 @@ jobs:
uses: pagopa/github-actions-template/payments-flow-docker-snapshot@37569377fa759368a01c1e7f40700b4118d65d0c
with:
current_branch: ${{ github.ref_name }}
enable_azure_devops_step: 'true'
azure_devops_apps: "[arc-be]"
azure_devops_project_url: 'https://dev.azure.com/pagopaspa/arc-projects'
azure_devops_pipeline_name: 'arc-cittadini-deploy-aks.deploy'
azure_devops_pat: ${{ secrets.AZUREDEVOPS_PAT }}
azure_template_parameters: |
{
"APPS": "[one-color]",
"POSTMAN_BRANCH": "${{ github.ref_name }}"
}
17 changes: 9 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,31 @@ repos:
# Common errors
- id: end-of-file-fixer
exclude_types: [sql]
exclude: mypivot4-batch
exclude: src
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude_types: [sql]
exclude: mypivot4-batch
exclude: src
- id: check-yaml
exclude: mypivot4-batch
exclude: src
- id: check-executables-have-shebangs
exclude: mypivot4-batch
exclude: src
# Cross platform
- id: check-case-conflict
exclude: mypivot4-batch
exclude: src
- id: mixed-line-ending
args: [--fix=lf]
exclude_types: [sql]
exclude: mypivot4-batch
exclude: src
# Security
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
exclude: mypivot4-batch
exclude: src
- id: detect-private-key
exclude: src/test
## terraform
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.96.1
rev: v1.96.2
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ RUN chown -R nobody:nobody /app

USER 65534 # user nobody

ENTRYPOINT ["java","-jar","/app/app.jar"]
ENTRYPOINT ["java","-jar","/app/app.jar"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

### Installation

### Usage
### Usage
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ openApiGenerate {
"DateTime" to "java.time.LocalDateTime",
"zoned-date-time" to "java.time.ZonedDateTime"
))
}
}
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ appVersion: 1.0.0
dependencies:
- name: microservice-chart
version: 7.1.1
repository: "https://pagopa.github.io/aks-microservice-chart-blueprint"
repository: "https://pagopa.github.io/aks-microservice-chart-blueprint"
2 changes: 1 addition & 1 deletion postman/pagopa-arc-E2E.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -4545,4 +4545,4 @@
"value": ""
}
]
}
}
2 changes: 1 addition & 1 deletion postman/template-env.secure-file.json.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ SubscriptionKeyGDP | Subscription key per utilizzare le chiamate ve
--------------------------------|----------------------------------------------------------------------------------------------
SubscriptionKeyPull | Subscription key per utilizzare le chiamate verso il servizio di Pull Payment
Payment |
--------------------------------|----------------------------------------------------------------------------------------------
--------------------------------|----------------------------------------------------------------------------------------------
Loading