From 1c9ba27438b3a6e7ef630ed14ee71d458185367c Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Tue, 17 Sep 2024 14:55:34 +0200 Subject: [PATCH] Check format --- .github/workflows/doc.yml | 30 ++++++++++++++++++++++++++++++ .markdownlint.yaml | 3 ++- .yamllint.yaml | 4 ++++ application.yaml | 8 ++++---- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/doc.yml create mode 100644 .yamllint.yaml diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 0000000..a1e2898 --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,30 @@ +--- +name: Test Documentation + +# Triggers the workflow on push or pull request events +on: + workflow_dispatch: + push: + branches: [main] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + documentation: + runs-on: ubuntu-latest + name: Test documentation + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + + - name: lint markdown files + uses: nosborn/github-action-markdown-cli@v2.0.0 + with: + files: . + + - name: lint yaml files + uses: ibiqlik/action-yamllint@v2 diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 4bc6d20..02907b2 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1 +1,2 @@ -MD013: false \ No newline at end of file +--- +MD013: false diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..6ec03d2 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,4 @@ +--- + +rules: + key-ordering: disable diff --git a/application.yaml b/application.yaml index 6846e97..d420ce0 100644 --- a/application.yaml +++ b/application.yaml @@ -5,7 +5,7 @@ logging: generiek: DEBUG server: - port: 8092 # change if docker setup is changed + port: 8092 # change if docker setup is changed error: path: "/error" include-message: always @@ -87,8 +87,8 @@ backend: api_password: secret oidc: - #Special authentication needs (like MFA) can be spefified here - #acr-context-class-ref: https://refeds.org/profile/mfa + # Special authentication needs (like MFA) can be spefified here + # acr-context-class-ref: https://refeds.org/profile/mfa # # oidc-client id and secret received when connected to MyacademicID client-id: APP-000000000-00000-0000-0000-0000000000 @@ -99,7 +99,7 @@ oidc: # # Don't edit these authorization-uri: https://proxy.prod.erasmus.eduteams.org/OIDC/authorization - token-uri: https://proxy.prod.erasmus.eduteams.org/OIDC/token + token-uri: https://proxy.prod.erasmus.eduteams.org/OIDC/token jwk-set-uri: https://proxy.prod.erasmus.eduteams.org/OIDC/jwks jwk: # The HTTP connect timeout for JWK set retrieval, in millisecond