GitHub and My Hours automations
My Hours holds time-tracked projects, and GitHub receives matching work through “Create Issue” and “Create Branch” in a repo.
Set up an automation: when new project in My Hours, create issue in GitHub
Build itOr have an AI agent work across GitHub and My Hours: it decides what to do in each on every run, on a schedule or when you ask it in its chat.
GitHub and My Hours in practice
Used for
My Hours holds time-tracked projects, and GitHub receives matching work through “Create Issue” and “Create Branch” in a repo.
Best template
“New Project” in My Hours, then “Create Issue” in GitHub. A new tracked project can open its first issue so engineering has a place to start.
Watch out
“New Project” in My Hours is polling, so “Create Issue” in GitHub follows a scheduled check, not the save.
GitHub and My Hours templates
Pick one and Captain builds it with you.


When new commit pushed in GitHub, create project in My Hours
Build this

When new project in My Hours, create issue in GitHub
Build this

When new project in My Hours, create branch in GitHub
Build this

When new project in My Hours, add comment to issue in GitHub
Build this
GitHub and My Hours triggers and actions
Every one of both apps. A trigger starts the work; actions are the steps.
Triggers
14- When a new issue is createdRuns the workflow automatically whenever a new issue is created in the repository.
- When a new branch or tag is createdRuns the workflow automatically whenever a new branch or tag is created in the repository.
- New release publishedRuns when a new release is published in the selected repository.
- Pull request opens or closesRuns the workflow automatically whenever a pull request is opened or closed in the repository.
- When a new comment is added to an issueRuns the workflow automatically whenever a new comment is added to any issue.
- When a repository is forkedRuns the workflow automatically whenever a repository is forked.
- When a new public repository is createdRuns the workflow automatically whenever a new public repository is created in the account.
- New commit pushedRuns when a new commit is pushed to a chosen repository or branch.
- New repository createdRuns when a new repository is created in your GitHub account or organization.
- New or updated gistRuns when a gist is created or a starred gist is updated within a chosen time window.
- When a milestone is createdRuns the workflow automatically whenever a new milestone is created in the repository.
- When a label is created, edited, or deleted in the selected repositoryRuns the workflow automatically whenever a label is created, edited, or deleted in the selected repository.
- When a member is added to a repositoryRuns the workflow automatically when a member is added to the selected repository.
- New pull request review commentRuns when someone comments on a line of code in a pull request in a chosen repository.
No triggers match.
Actions
27- Create issueCreate a new issue in repo
- Create branchCreates a new branch in a GitHub repository from an existing branch or commit SHA.
- Create pull requestOpen a pull request from a head branch into a base branch with a title and description.
- Create repositoryCreate a repository in your account or an organization; private unless set Public, starts with a README by default.
- Get repository detailsReturn repository details
- Update GitHub issueModify an existing issue's title, description, state, assignees, labels, or milestone in a GitHub repository.
- Find issue in repositoryFind a repository issue by number or title, or list issues with state, labels, and pagination.
- Find organizationFind an organization by name
- Create gistCreate a gist from files
- Get file changesGet file changes of a Pull Request
- List pull requestsList pull requests in a repository, optionally filtering by creation or update dates.
- Get file contentsRetrieve a file's contents from a repository, optionally from a specific branch, tag, or commit.
- Create or update fileAdd or update a file in repo
- Add comment to issueAdd a comment to an issue
- Add comment to commitPost a comment on a specific commit in a repository, optionally targeting a file path and line position.
- Create inline commentCreate inline comment on PR
- List all repositoryRetrieve all your repositories
- List PR review commentsList PR review comments
- Get pull request detailsGet full details for a specific pull request from a repository, optionally including reviews and review comments.
- Invite user to organizationInvite a user to a GitHub organization by email or GitHub user ID, and assign their role and optional team memberships.
- Update pull requestEdit a pull request's title, description, target branch, or open/closed state.
- List repository filesList files in a repository, optionally filtering by branch, folder, file type, or limit.
- Close pull requestEnd a pull request on GitHub, marking it as closed.
- Remove member from organizationRemove a member from a GitHub organization
- Find repositoryCheck if a repository exists by name; returns found true with its URL and details, or found false.
- Update repositoryChange a repository's visibility, name, description, default branch or features; only the fields you fill are changed.
- Upload multiple filesAdd or update several files in a repository in one commit; folders come from paths such as tests/1.in.
No actions match.
Triggers
1- New projectTriggers when a new project is created.
No triggers match.
Actions
4- Create projectCreates a new project for time tracking.
- Add task to projectAdd a task to project.
- Create clientCreates a Client.
- Create tagCreates a tag.
No actions match.
Questions about GitHub and My Hours
What can start a GitHub and My Hours automation?
“New commit pushed” and “New project”.
Which other apps work with both GitHub and My Hours?
Google Calendar, Wordpress and Kylas CRM. Each one has templates with GitHub and with My Hours, so a third app can join the same job.
All GitHub integrations · All My Hours integrations · Every app, A to Z