You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When all the path names match patterns in paths-ignore, the workflow will not run. If any path names do not match patterns in paths-ignore, even if some path names match the patterns, the workflow will run.
This has caused the branch protection to still pass as the node-when-unrelated.ymnl check succeeded while the node.yml check was canceled due to the same name of the concurrency group.
We noticed in text that in pull requests where both javascript and php files are changed, the paths-ignore filter is not working as expected.
https://github.com/nextcloud/text/blob/main/.github/workflows/node-when-unrelated.yml#L13C7-L22
The reason is that the workflow will only be skippped if all paths match:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
This has caused the branch protection to still pass as the node-when-unrelated.ymnl check succeeded while the node.yml check was canceled due to the same name of the concurrency group.
I don't see a way to make this work with the limited github actions syntax, so maybe https://github.com/getsentry/paths-filter could be a different option.
Did anyone else encounter this as well?
cc @nickvergessen as you worked on those fallback checks.
Affected run/PR
nextcloud/text#2971
https://github.com/nextcloud/text/actions/runs/4052668917
https://github.com/nextcloud/text/actions/runs/4052668905
The text was updated successfully, but these errors were encountered: