Event to get notified if the base branch is updated?


I want to get an event in the PR if the base branch is updated. Is this possible using Github actions ?. Basically want to rebase the PR branch automatically if master is changed


If such an event existed, and you used the default token to push your rebased branch, workflows wouldn’t run for the push.

You could use on: push: branches: main with a token and have it find all open PRs to the branch and then using a PAT try to do the push of the rebase.

But note that this would be very surprising for most users.