Closed ffcabbar closed 1 year ago
@dorny Do you have any idea? Because it seems like it has to be working for me. For example '# minify files for each project' part is not working properly. When I change just one folder, all steps of that part are working. But it should not.
@ffcabbar I will take a look on it later in the evening.
Thanks a lot! I'll wait for you. And I also shared it on StackOverflow. Maybe It helps you. link
Your workflow is triggered by the push to test-s3
branch and changes are detected against your default (e.g. main) branch. It's the "Feature branches" workflow. That means if you change in the first pushed commit something in "foo" and in the second pushed commit something in "foo2", it would consider both as changed.
If you want to execute the steps based only on the changes included in the commits currently pushed, then you need to set the base
input variable to be the same as the branch where you pushed the commits. See the Long lived branches example.
Hope this will solve your issue. If not, please look at the action logs. You should see exactly how the changes were detected and which files are considered to be modified.
It works now! Thanks a lot! I just added the base input variable.
If I change in foo2 folder or foo folder, it triggers all steps and does not skip any steps. Some should be skipped some steps when I change something in just one of them.
My File directory is like this:
.github
foo
foo2