Skip to content

PRs containing blobs in history pass the action #143

@FloThinksPi

Description

@FloThinksPi

Describe the bug
Given your HEAD commit in a PR/Branch does not have a blob, the tests succeeds even when in a commit in the PR introduces a Blob.

Is there a way to detect this in an action ?

To Reproduce
Steps to reproduce the behavior:

  1. Make a branch/PR, have the action validate the PR
  2. Make a commit with a blob(tests fail)
  3. Make a second commit that converts this blob to a LFS reference(tests succede)
  4. Merge that PR (strategy merge/rebase)
  5. Now you have a blob in main branch (not in the HEAD but in the history so it blows up the repo size)

Expected behavior
Test fails when in the history of the PR a blob is found

Actual behaviour
Tests succedee as long as the HEAD commit of the branch has no blobs in it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions