Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push to fork before checking for existing PR
Previously, when doing propose downstream, we checked for an already existing PR, and only if there was none, we pushed changes to a fork and created a new PR. Initially, the checking for already existing PR had been added in packit#994 in order to prevent creating multiple PRs if more propose-downstream jobs are triggered (packit/packit-service#785). This prevents us from updating an already existing PR (packit/hardly#76), so with this change, we first push to a fork, which might update an already existing PR, and then we check whether we actually need to create a new PR or if there already is one.
- Loading branch information