-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.github/workflow files are ignored by default #66
Comments
Interesting... I'd say this is a bug. There's no specified behavior for skipping other than the assigned paths to ignore. If no assignment is made, the default configuration ignores |
Hmm, I first thought it might be a permission problem, but then the Definitely a bug I'd say. I'm soon updating another workflow file, so I'll let you know how that goes :) |
@Snailedlt is it possible that your token has no read permission for the workflow file, but has for some other files? I don't know if that depth of granularity is supported, but perhaps you'd know if you use it. |
I don't think that could even be the cause of the issue, could it? As far as I can tell that wouldn't affect this if statement, which is what is ran to return that message you see in the first image in the issue description. Lines 114 to 117 in d5cb021
|
@Snailedlt if the blob object is unaware of the existence of the workflow file, I think that might cause the problem you stumbled upon. |
@Snailedlt can you confirm that the action is successfully reading files located in directories other than root? |
Not at the moment because we have to focus on other issues. But once I get around to doing it, I'll let you know :) |
So I guess I need to use a different github token then |
@Snailedlt I was wondering if the implemented blob was wrong, maybe only reading the root folder, but it's working fine for me: https://github.com/Logerfo/newline-test/actions/runs/3932390852/jobs/6724891213. Maybe it really is something related to permissions, specially if your repo is in an organization, but I don't know much about GitHub's granularity. |
Yes, that's beginning to look more and more likely. The project is in a private repo in an organization |
I'm getting the same issue, the project is a private repo in an organization and it skips the files |
I am getting same issue as well - project is also in private repo in an organization and it is ignored My files that are being ignored are .github/** as well as .gitignore and .dockerfile in any directory |
At the moment my workflow file is being ignored:
This shouldn't happen because GitHub still says
No newline at end of file
for that file, so it makes no sense to ignore it by default.The text was updated successfully, but these errors were encountered: