ci: Enumerate all maintained branches in the GitHub Actions triggers

This is a cherry-pick of commit ed739a508e83f5bd97310192734293ce36e8a484
from branch 'develop'.
4 files changed