mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
Awesome CI Workflow Code formater: "2 files are not in one and only one directory" but they are in separate branches. #107
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @straight-into-the-wall on GitHub (Oct 22, 2021).
Hey @Panquesito7 @kvedala,
On my fork's Github Actions I got this error from Awesome CI Workflow Code formatter; even if I separated the two files into two different commits.
Any idea how I could fix it?
Thanx
Originally posted by @straight-into-the-wall in https://github.com/TheAlgorithms/C/issues/897#issuecomment-949695340
@straight-into-the-wall commented on GitHub (Oct 24, 2021):
Now there is only one modified file, but the issue remains the same.

@Panquesito7 commented on GitHub (Oct 24, 2021):
@ayaankhan98, @mishraabhinn, thoughts?
@straight-into-the-wall commented on GitHub (Oct 24, 2021):
Maybe is because I've 2 different PR affecting one folder? (Seems unlikely too me but I've no other clues)
https://github.com/TheAlgorithms/C/pull/896
https://github.com/TheAlgorithms/C/pull/897
@straight-into-the-wall commented on GitHub (Oct 24, 2021):
the failing check code is there:
@Panquesito7 commented on GitHub (Oct 24, 2021):
Don't think so, that shouldn't happen. The Leetcode folder is known for having CI issues, AFAIK.
@straight-into-the-wall commented on GitHub (Oct 25, 2021):
I found that Awesome workflow was counting the length of the modified file list in the number of undesired files.
I proposed a solution in PR #900.
@straight-into-the-wall commented on GitHub (Oct 25, 2021):
In former version of .github/workflows/awesome_workflow.yml commits were permitted to present multiple solutions at one time. PR #901 reuse that piece of code. So to give alternative solution to this issue.