From dd5ea05104f5ea6ca10a2ad702bcb2d31894c8ff Mon Sep 17 00:00:00 2001 From: mulhern Date: Fri, 30 Jan 2026 09:59:35 -0500 Subject: [PATCH] Disable yamllint rule prohibiting long lines for all files Signed-off-by: mulhern --- .github/workflows/ci.yml | 2 -- .github/workflows/nightly.yml | 1 - .yamllint.yaml | 5 +++++ Makefile | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .yamllint.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbc0034..85e8327 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,6 @@ jobs: target: ${{ matrix.target }} override: true - name: Cross - # yamllint disable rule:line-length run: cargo install --git https://github.com/cross-rs/cross.git --rev bb3df1b cross - name: Run cargo check @@ -98,7 +97,6 @@ jobs: repository: stratis-storage/ci persist-credentials: false - name: Run comparisons of version specs with Fedora packages - # yamllint disable rule:line-length run: | COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a48b79e..c5f2297 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -39,7 +39,6 @@ jobs: repository: stratis-storage/ci persist-credentials: false - name: Run comparisons of version specs with Fedora packages - # yamllint disable rule:line-length run: | COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f Makefile check-fedora-versions COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 make -f Makefile check-fedora-versions diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..75da2b7 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,5 @@ +--- +extends: default + +rules: + line-length: disable diff --git a/Makefile b/Makefile index 2d4c483..f07dd12 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ check-fedora-versions: test-compare-fedora-versions ${COMPARE_FEDORA_VERSIONS} ${FEDORA_RELEASE_ARGS} ${IGNORE_ARGS} yamllint: - yamllint --strict .github/workflows/*.yml + yamllint --strict .github/workflows/*.yml .yamllint.yaml fmt: cargo fmt