Creating package for the first time
If this is the first time you have created a package in the repository, you will end up with an error because you need to enable Packit rights to your Copr repository.
Error in Pull Request
In case of Pull Requests the GitHub Check will fail and Packit bot will drop this comment:
How to solve this:
Go to your
<project-name>-pull-requestsrepository in CoprGo to
Settings->Permissionsand set up the permission for packit toapprovedlike this:
And click
UpdateGo to the failed PR and drop down a
/packit buildcomment, which will re-trigger the build again
Error in package branch
In case of merging the PR for the first time, the GitHub Run in package branch will fail:
How to solve this:
Go to your
<project-name>repository in CoprGo to
Settings->Permissionsand set up the permission for packit toapprovedlike this:
And click
UpdateGo to the GitHub repository
Go to the desired package branch
Click on the red cross next to commit sha
Click
Detailsin the pop-up windowRe-run on each failed check.