When you activate your repository Drone automatically add webhooks to your version control system (e.g. GitHub). There is no manual configuration required.
Webhooks are used to trigger pipeline executions. When you push code to your repository, open a pull request, or create a tag, your version control system will automatically send a webhook to Drone which will in turn trigger pipeline execution.
The user who enables a repo in Drone must have
Admin rights on that repo, so that Drone can add the webhook.
Note that manually creating webhooks yourself is not possible. This is because webhooks are signed using a per-repository secret key which is not exposed to end users.
Drone gives the ability to skip individual commits by adding
[CI SKIP] to the commit message. Note this is case-insensitive.
git commit -m "updated README [CI SKIP]"
Drone gives the ability to skip commits based on the target branch. The below example will skip a commit when the target branch is not master.
pipeline: build: image: golang commands: - go build - go test +branches: master
Please see the pipeline conditions documentation for more options and details.
We are always happy to help with questions you might have. Search our documentation or check out answers to common questions. You can also post questions or comments to our community forum.
Is there a mistake on this page? Please let us know or edit this page.