Workflow not running

name: Pull Request Opened / Committed to
# This workflow is triggered on pushes to the repository.
on:
  pull_request:
    branches:
      - '**'

The above is the predicate I use in our workflow for PRs. It was working previously, but today when I push to the branch of an open PR branch it no longer builds.

Try on: [push, pull_request]

I don’t want to build every single branch every time there is a commit.

We only rebuild on pushes to branches for which there is an open pull request.

This functionality was working previously, we’ve been doing it this way for months. Something has broken recently.

I think that pull_request is no longer triggered for pushes to the branch

OK. I see the problem. If the repo can’t automatically merge, then it fails silently. No workflow runs.

Fixed the merge conflict in the submodule and it works now.