Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linting action added to a random workflow name #280

Closed
gvocale opened this issue Aug 5, 2021 · 1 comment
Closed

Linting action added to a random workflow name #280

gvocale opened this issue Aug 5, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@gvocale
Copy link

gvocale commented Aug 5, 2021

This is how my workflow looks:

name: Linters
on: push
jobs:
  run-linters:
    name: Run
    runs-on: ubuntu-latest

    steps:
      - name: Check out Git repository
        uses: actions/checkout@v2

      - name: Install dependencies
        run: yarn install --frozen-lockfile

      - name: Run linters
        uses: wearerequired/lint-action@v1
        with:
          neutral_check_on_warning: true
          # Enable linters
          eslint: true
          eslint_args: "--max-warnings 0"
          prettier: true

After the workflow runs, I would expect to see ESLint and Prettier added to the checks, as in this screenshot taken from this repo readme:

check-runs

Instead the checks are being somehow attached to Typescript, which is another workflow I have, looking like this:

name: Typescript
on: push
jobs:
  check-types:
    runs-on: ubuntu-latest
    name: Check
    steps:
      - uses: actions/checkout@v1

      - name: Install dependencies
        run: yarn install --frozen-lockfile

      - name: Typecheck
        uses: andoshin11/typescript-error-reporter-action@v1.0.2

Screen Shot 2021-08-05 at 6 13 03 PM

Somehow seems that the actions belongign to lint-action are attached to a random other workflow I have.

Storybook / ESLint
Storybook / Prettier

Instead should be:

ESLint
Prettier

Or alternatively:

Linters / ESLint
Linters / Prettier
@gvocale gvocale changed the title Linting checked added to last workflow in alphabetical order Linting action added to a random workflow name Aug 5, 2021
@ocean90 ocean90 added the duplicate This issue or pull request already exists label Aug 9, 2021
@ocean90
Copy link
Member

ocean90 commented Aug 9, 2021

Hey there, this is a known issue with the GitHub API. Unfortunately there's still no fix. See #97 for a previous report.

@ocean90 ocean90 closed this as completed Aug 9, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants