Integrations · Step
GitHub latest commits
The newest commits on a branch, one a line. With Only new, only ones not seen before.
github.commits
In a flow
“When a button is clicked, GitHub latest commits.”
Every 10 minutes → GitHub latest commits (only new) → If New → Send in #dev-log.
What it does
The newest commits on a branch, one a line. With Only new, only ones not seen before. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 5 values later steps can use. Find it under Integrations in the palette.
When to use it
Use it to use another service, like GitHub, the weather or Twitch: the newest commits on a branch, one a line. With Only new, only ones not seen before.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Repository Text
-
Owner/name, like cynk-bot/cynk, or its github.com link.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses python/cpython.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Branch Text
-
The branch. Empty is the default one.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- How many Number
-
The newest few, 1 to 10.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 5.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
- Only new Yes / no
-
Remember what it saw, so New is on only the first time, for a timer that checks every so often.
What goes there: Type it in the side panel, or wire in true or false. e.g. true
If it's empty: Optional. Left alone, it's off.
Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 269 more
Values it gives
- As text Text
-
One commit a line: its short id, message and author. e.g. `a1b2c3d` Fix login — sam
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more
- How many Number
-
How many it lists. e.g. 3
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Latest Text
-
The newest commit's message. e.g. Fix login
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more
- Link Text
-
A link to it. e.g. https://example.com/item
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more
- New Yes / no
-
With Only new: on the first time this is seen, off after. e.g. on
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more