I have a workflow setup which triggers when I push files to the path "wiki/**" to then update the wiki of the repository.
But I now created a release and all of a sudden did this action get triggered by this.
Do releases now count as pushes or is this an unintentional behaviour or perhaps a visual bug?
I don't believe last option as it shows as a separate action in the Actions-tab with the same commit hash:
The "on" part is set up as follows:
on: push: paths: - 'wiki/**'
If that is actually an intended behaviour, could someone give me a solution to make this ignore releases?
Solved! Solved! Go to Solution.
I found a similar solution.
GitHub offers "tags-ignore" to ignore specific tags. So by using the snipped below was I able to make the action ignore all releases.
on: push: paths: - 'wiki/**' tags-ignore: - '**' # Just ignore all tags.