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

Cannot read property 'id' of undefined #7

Open
acarl005 opened this issue May 5, 2020 · 2 comments
Open

Cannot read property 'id' of undefined #7

acarl005 opened this issue May 5, 2020 · 2 comments

Comments

@acarl005
Copy link

acarl005 commented May 5, 2020

Hello. My action is failing on the "Run flake8" step with the message ##[error]Cannot read property 'id' of undefined.

Here is my workflow YAML

name: Lint and Type Check

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - ci/lint-*

jobs:
  lint-and-type-check:
    name: Lint and Type Check
    runs-on: ubuntu-latest
    steps:
      - name: Setup Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.x
          architecture: x64
      - uses: actions/checkout@master
      - name: Install flake8
        run: pip install flake8
      - name: Run flake8
        uses: suo/flake8-github-action@releases/v1
        with:
          checkName: lint-and-type-check
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@m-kuhn
Copy link

m-kuhn commented May 6, 2020

We have the very same. The failure only appears if there are issues though. If there are non, everything works fine.

@julianwachholz
Copy link

FYI I created a new GitHub Action and applied a fix for this and other open issues as this repo doesn't seem to be maintained anymore.

https://github.com/marketplace/actions/python-flake8

maresmar added a commit to opendatalabcz/pseudo-anonymizer that referenced this issue Dec 22, 2020
maresmar added a commit to opendatalabcz/pseudo-anonymizer that referenced this issue Dec 22, 2020
maresmar added a commit to opendatalabcz/pseudo-anonymizer that referenced this issue Dec 22, 2020
cooljeanius added a commit to cooljeanius/giws that referenced this issue Nov 5, 2023
try changing the flake8 action
see comment from @julianwachholz in suo/flake8-github-action#7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants