openBackhaul / MicroWaveDeviceGatekeeper

Gateway for PUTting to the devices
Apache License 2.0
1 stars 1 forks source link

To ignore "server" folder in the .github/workflows/yaml-lint.yaml rules #37

Closed PrathibaJee closed 11 months ago

PrathibaJee commented 11 months ago

To ignore the ./server/api/openapi.yaml file from the yaml-lint validation , rules in the .github/workflows/yaml-lint.yaml shall be modified to ignore the folder server.

ignore: |
   server/
openBackhaul commented 11 months ago

Could you please check, whether the change has the wished effect. If yes, please close the issue. If not, please assign back to me an send email to indicate need for change.

name: Yaml Lint
on:
  pull_request:
    branches: [develop]
jobs:
  lintAllTheThings:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: yaml-lint
        uses: ibiqlik/action-yamllint@v3
        with:
          format: github
          config_data: |
            extends: default
            ignore: |
              /server/
            rules:
              line-length: disable
              document-start: disable
PrathibaJee commented 11 months ago

Thank you for resolving the problem. Now , server/ folder is excluded from the yaml lint job. image

Hence closing this issue.