Skip to content

File paths are cut off #43

Description

@kimdre

In my pipeline the paths are cut off:

alidate.yml should be /tasks/validate.yml
ain.yml: should be /meta/main.yml

Run ibiqlik/action-yamllint@v3
Run # export LOGFILE=$(mktemp yamllint-XXXXXX)
======================
= Linting YAML files =
======================
Warning: alidate.yml:6:12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:[14](https://github.com/kimdre/ansible.hcloud-backup/actions/runs/9720037933/job/26830844881#step:3:15):12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:25:12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:35:12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:47:12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:62:12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:73:12: [warning] truthy value should be one of [false, true] (truthy)
Warning: alidate.yml:75:121: [warning] line too long (123 > 120 characters) (line-length)
Warning: alidate.yml:76:121: [warning] line too long (131 > 120 characters) (line-length)
Warning: alidate.yml:77:121: [warning] line too long (124 > 120 characters) (line-length)
Warning: alidate.yml:78:121: [warning] line too long (1[32](https://github.com/kimdre/ansible.hcloud-backup/actions/runs/9720037933/job/26830844881#step:3:34) > 120 characters) (line-length)
Warning: ain.yml:15:21: [warning] truthy value should be one of [false, true] (truthy)
Warning: ain.yml:27:21: [warning] truthy value should be one of [false, true] (truthy)
Warning: /release.yml:1:1: [warning] missing document start "---" (document-start)
Warning: /workflows/release.yml:3:1: [warning] truthy value should be one of [false, true] (truthy)
Warning: /workflows/lint.yml:3:1: [warning] truthy value should be one of [false, true] (truthy)

this is my workflow job:

jobs:
  linter:
    name: Validate Files
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Lint Yaml Files
        uses: ibiqlik/action-yamllint@v3
        with:
          config_data: |
            extends: default
            rules:
              line-length:
                level: warning
                max: 120
              brackets:
                max-spaces-inside: 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions