@airtower-luna I dont think this answers the question.
in master the file is kept in a certain way.
I can make as many changes to my file in my branch, but before I push, I merge master into my branch, reverting all changes I made to the file and staying up to date with master.(technically this should register as no change with regards to master)
in this case, i do not want the workflow to be triggered. Im guessing from you answer that this isn’t possible.
The reasoning is that I want all of my team members to be able to trigger the workflow, but when they push to master, they first revert the file to match master.
I feel that this should be a feature: to have an option to run on file change, but if it is up to date with master, not to run