Skip to content

Support working-directory keyword in GitHub Actions workflows #433

@auvred

Description

@auvred

Followup for #432

I'm working on integrating knip into the typescript-eslint repo (typescript-eslint/typescript-eslint#8192)

We have GH workflow step that runs in the specified working-directory. Unfortunatelly, knip doesn't understand this syntax right now and reports stylelint as unused binary

Unlisted binaries (1)
stylelint  .github/workflows/ci.yml

GitHub Docs: Workflow syntax for GitHub Actions

I thought about sending a PR, but I couldn't find an example in the code of existing plugins on how to handle similar situtations (monorepo dependency is referenced by file from repository root)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy