Skip to content

Disable rules by keyΒ #672

@Pandapip1

Description

@Pandapip1

I have the following config:

...
jobs:
  markdownlint:
    name: πŸ–‹οΈ Markdownlint
    runs-on: ubuntu-latest
    steps:
      - name: πŸ“¦ Checkout Repository
        uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b  # v4.1.5
        with:
          fetch-depth: 2
...

Due to other tooling I have, those lines with uses are always going to be too long. I'd like to disable the line-length rule, but only for those lines, and without spamming yamllint disable-line everywhere.

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