Open dkhokhlov opened 1 year ago
AppVeyor is authorized as GitHub App. Uninstall "AppVeyor" GitHub app from logdna
org and it will do the trick.
Uninstall and Install? We do use it.
I'm sorry if I didn't catch the problem. Do you want to remove just this repo from AppVeyor CI, but leave it enabled for the rest of org?
Per "Uninstall "AppVeyor" GitHub app from logdna org and it will do the trick." we removed AV App from GH. this issue got resolved. BUT after adding AV back to GH - Ci checks are not working, GH does not show them. AV Webhook is defined and gets posted to AV w/o errors.
Repo: logdna/logdna-agent-v2 PR example: https://github.com/logdna/logdna-agent-v2/pull/422
How to make GH to use AV for CI checks back again?
What AppVeyor account are you configuring it on?
AV account used for webhooks "dkhokhlov". GH login. this account authorized GH access before the reported issue was created. Another GH/AV account "gjanco" was used to delete AV App in GH and authorize it back.
AppVeyor account must be authorized to access GitHub org even "AppVeyor" GitHub app is installed on GitHub. Login to AppVeyor, go to "New project" page and perform "Import existing installations". You should see your repo in the list. Repo-specific Webhook on GitHub is not required as GitHub App uses a centralized webhook.
I see one push triggers two AV builds:
@appveyor continuous-integration/appveyor/branch Pending — Waiting for AppVeyor build to complete
@appveyor continuous-integration/appveyor/pr Pending — Waiting for AppVeyor build to complete
How to make change that to build only once per push?
Two ways to fix that:
1) Disable one of the options on "General" tab of project settings in AppVeyor:
Do not build on "Push" events Do not build on "Pull request" events
2) Add this to appveyor.yml
:
skip_branch_with_pr: true
Strange, I enabled "Do not build on "Push" events" and did new push to pr but still see two checks scheduled on AV:
Could you drop a link to that commit/PR/build?
GH keeps using Appveyor after Webhook was deleted from GH repo
https://github.com/logdna/logdna-agent-v2/pull/422