Failed to push to Git with "Required status check "builds/x86_64" is expected"

Today I want to release new version of my app, by pushing a commit to my repo. But I got:

$ git push
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 310 bytes | 310.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: Required status check "builds/x86_64" is expected. Changes must be made through a pull request.
To github.com:flathub/vn.hoabinh.quan.CoBang.git
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'github.com:flathub/vn.hoabinh.quan.CoBang.git'

What should I do now?

You need to follow the pull request workflow. Please see the announcement: https://discourse.flathub.org/t/enforcing-pull-request-workflow-and-green-ci-status-of-prs

1 Like