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-requests
repository in CoprGo to
Settings
->Permissions
and set up the permission for packit toapproved
like this:
And click
Update
Go to the failed PR and drop down a
/packit build
comment, 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
->Permissions
and set up the permission for packit toapproved
like this:
And click
Update
Go to the GitHub repository
Go to the desired package branch
Click on the red cross next to commit sha
Click
Details
in the pop-up windowRe-run on each failed check.