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:
- Make a branch/PR, have the action validate the PR
- Make a commit with a blob(tests fail)
- Make a second commit that converts this blob to a LFS reference(tests succede)
- Merge that PR (strategy merge/rebase)
- 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.
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:
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.