# Commits doesn't tiggrer a build

**URL:** <https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844>\
**Category:** Build Environment\
**Created:** [January 24, 2017, 7:38pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844 "2017-01-24T19:38:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SrCobranza](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/srcobranza/32/11673_2.png) [@SrCobranza](https://discuss.circleci.com/u/SrCobranza)\
**Post date:** [January 24, 2017, 7:38pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844/1 "2017-01-24T19:38:44Z")

</div>

Hello!

I’ve added a repo from GitHub successfully and one first build appeared. Everything was perfect but then I started to commit some code to my master branch, expecting to have new builds, and nothing happens.

I’m using all the default configurations - just trying to make it work. I’ve tryied adding a yaml file and doing a merge instead of a normal commit, however is still not working.

Is a NodeJS project, but I don’t think it makes any difference.

Any ideas?

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [January 24, 2017, 8:06pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844/2 "2017-01-24T20:06:59Z")

</div>

If the project is public, can you provide a link? Same with your `circle.yml` file? If it’s private, can you please PM me the links so I can take a look?

A quick test, try unfollowing your project and then following it again on CircleCI to reset all of the GitHub hooks. Sometimes that’s an easy way to retrigger everything.

---

<div class="post-metadata">

**Author:** ![SrCobranza](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/srcobranza/32/11673_2.png) [@SrCobranza](https://discuss.circleci.com/u/SrCobranza)\
**Post date:** [January 24, 2017, 10:01pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844/3 "2017-01-24T22:01:25Z")

</div>

Thanks for your reply.

Unfollow and follow again doesn’t work. I’ll sent you a PM because this is a private repository.

This is the content of my circle.yml file (I also tried without this file):

```
general:
   branches:
     only:
        - master
        - dev
```

---

<div class="post-metadata">

**Author:** ![SrCobranza](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/srcobranza/32/11673_2.png) [@SrCobranza](https://discuss.circleci.com/u/SrCobranza)\
**Post date:** [January 25, 2017, 1:05pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844/4 "2017-01-25T13:05:24Z")

</div>

Solved!

I removed GitHub’s permission and then returned it. In addition, the webhook configuration had not been established.

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [January 26, 2017, 7:17pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844/5 "2017-01-26T19:17:07Z")

</div>

Hmm so is everything good now?

If you’re not, I strongly suggest having the `circle.yml` file in every branch since you are doing whitelisting. This allows CircleCI to run the branches (or not) in a more predictable matter.

---

<div class="post-metadata">

**Author:** ![drazisil](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/drazisil/32/24029_2.png) [@drazisil](https://discuss.circleci.com/u/drazisil)\
**Post date:** [January 30, 2017, 5:04pm UTC](https://discuss.circleci.com/t/commits-doesnt-tiggrer-a-build/9844/6 "2017-01-30T17:04:12Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
