Skip to content

action fails if no python files are modified #7

Description

@valentijnscholten

When a PR has only changes in non-python fails, the flake8-your-pr results in a failure because it gets an empty value for new_files_in_branch, or maybe the piped sequence of commands fails.

https://github.com/valentijnscholten/django-DefectDojo/pull/5/checks?check_run_id=1170299683

This leads to the check being marked as failure preventing the PR from being merged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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