# Github commit

**URL:** <https://community.n8n.io/t/github-commit/27812>\
**Category:** Questions\
**Created:** [July 5, 2023, 3:06pm UTC](https://community.n8n.io/t/github-commit/27812 "2023-07-05T15:06:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aston\_he](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/aston_he/32/6566_2.png) [@aston\_he](https://community.n8n.io/u/aston_he)\
**Post date:** [July 5, 2023, 3:06pm UTC](https://community.n8n.io/t/github-commit/27812/1 "2023-07-05T15:06:00Z")

</div>

If a repository has a commit, how can I trigger it?

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [July 5, 2023, 3:09pm UTC](https://community.n8n.io/t/github-commit/27812/3 "2023-07-05T15:09:05Z")

</div>

Hey @aston_he,

Have you tried the GitHub Trigger node? I suspect the Push event might have what you are after.

---

<div class="post-metadata">

**Author:** ![aston\_he](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/aston_he/32/6566_2.png) [@aston\_he](https://community.n8n.io/u/aston_he)\
**Post date:** [July 5, 2023, 3:29pm UTC](https://community.n8n.io/t/github-commit/27812/4 "2023-07-05T15:29:07Z")

</div>

Problem running workflow

_Check that the repository exists and that you have permission to create the webhooks this node requires_

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [July 5, 2023, 4:42pm UTC](https://community.n8n.io/t/github-commit/27812/5 "2023-07-05T16:42:43Z")

</div>

That is then a problem with the token. Either you did not give it the required permissions to do so, or your user does not have the permission to do that in the first place. You can for example not use it on a repository you do not own or you are not the admin of (the last part I am not 100% sure how exactly it works but something like that). Best test with a repository your user owns. If it does not work there, then the permissions of the token are the problem.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [October 3, 2023, 4:43pm UTC](https://community.n8n.io/t/github-commit/27812/6 "2023-10-03T16:43:24Z")

</div>

Closed on October 3, 2023, 4:43pm UTC

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