flake8-github-action
flake8-github-action copied to clipboard
Cannot read property 'id' of undefined
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 }}
We have the very same. The failure only appears if there are issues though. If there are non, everything works fine.
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