← Help center · Automations & agents

How to connect GitHub to Atwork

Updated Nov 23, 2026

Connect GitHub to install the Atwork app on a GitHub account or organization, on all of its repositories or only the ones you choose. Workflows can then start when a pull request, issue or push happens, and Dana and your workflows can read pull requests, issues and files, comment, review, label and open issues. Owners and admins connect GitHub for the whole organization. GitHub comes with the Pro plan and up, and workflows that start on a GitHub event need the Business plan and up (see pricing).

Before you start

  • You need to be an owner or admin in Atwork. A GitHub connection is always shared with the whole organization, so a member can connect it only when Members can share their connections with the organization is on in Settings → Shared connections.
  • On GitHub, you install the app on your own account or on an organization you own. If you don't own the organization, you can ask its owners to approve it (see below).
  • Your organization is on the Pro plan or up.

Connect GitHub

  1. Open Settings → Connections.
  2. Find GitHub in the Developer category and choose Connect.
  3. Choose Connect to GitHub. GitHub opens in a new window.
  4. On GitHub, pick the account or organization to install the Atwork app on.
  5. Choose All repositories, or Only select repositories and pick the ones Atwork may use.
  6. Confirm the install on GitHub.

The window closes and the account shows under Accounts as Connected, with its Repositories and Who can use: Everyone in the organization. With All repositories, repositories you add on GitHub later are included.

A connected GitHub account in Connections, with its repositories and the card to link your own GitHub account
A connected GitHub account in Connections, with its repositories and the card to link your own GitHub account

Ask the GitHub owner to approve it

If you don't own the GitHub organization, GitHub sends a request to its owners in step 6 instead of installing the app. Back in Atwork:

  • The account shows Requested — waiting for the GitHub owner, with your GitHub login and the date you asked.
  • When an owner of the GitHub organization approves it, the connection turns Connected on its own, with the repositories they approved. You don't need to come back to Atwork.
  • Until then, workflows and Dana can't use it.

Start a workflow on a GitHub event

In a workflow, open the Node library and find GitHub under Triggers. Each trigger has a Repositories setting to run for some repositories only; left empty, it runs for every repository the app can see. Workflows that start on a GitHub event need the Business plan and up.

TriggerRuns when
New pull requestA pull request is opened.
Pull request closed or mergedA pull request is merged or closed. Outcome narrows it to Merged or Closed without merging.
New pushCommits are pushed to a branch. Branch narrows it to one branch.
New issueAn issue is opened.
New commentSomeone comments on an issue or pull request, comments on a line of a pull request, or submits a review with text.
New reviewA pull request review is submitted. Review states narrows it to Approved, Changes requested or Commented.
Any GitHub eventGitHub sends any event for the installation. Event types narrows it.

Act on GitHub from a workflow

GitHub's actions are in the Node library under Actions:

  • Pull requests: Review a pull request (comment, approve or request changes), Request reviewers, Merge pull request, Close pull request.
  • Issues and comments: Create an issue, Comment on an issue or pull request, Add labels, Remove labels, Assign people, Close issue.
  • Branches, files and releases: Create a branch, Delete a branch, Create a file, Update file, Create a release, Re-run an Actions run.
  • Reading: List pull requests, Get a pull request, List pull request files, List issues, Get a file, Search issues and pull requests, and more.
  • Anything else: GitHub API request (read), GitHub API request (write) and GitHub API request (delete) call the GitHub REST API directly.

A workflow acts on GitHub as the Atwork app, so its comments, labels and reviews show under the app's name.

Ask Dana to work on GitHub

Once GitHub is connected, Dana can use it in chat. Ask, for example, "Which pull requests in client-portal are still open?" or "Comment on issue 42 that the fix ships on Friday."

  • Dana reads pull requests, issues, files, commits, releases and Actions runs without asking.
  • Before any change on GitHub, Dana shows an Approval required card with Approve and Deny.
  • Merging or closing a pull request, closing an issue, updating a file, deleting a branch and API requests that write or delete ask every time, even after Always allow in this conversation.

A custom agent uses GitHub only once it is added to the agent's Integrations card. See Choose which connections an agent can use.

Link your own GitHub account

Each member can link their own GitHub account, so what Dana and agents do on GitHub in their chats carries their name. Until you link it, those changes show as the Atwork app. Workflows always act as the Atwork app.

  1. Open Settings → Connections.
  2. Find GitHub and choose Manage.
  3. On the Accounts tab, under Your GitHub account, choose Link GitHub account.
  4. Approve the access on GitHub.

The card shows Linked as with your GitHub login, and Only you can see and use this link. Linking also lets Dana find the pull requests waiting on your review. To undo it, choose Unlink.

Change repositories or disconnect

Owners and admins manage the connection on the GitHub account in Settings → Connections:

  • Change repositories: choose Manage on GitHub and add or remove repositories there. Atwork updates the list.
  • Disconnect: choose Remove. Workflows and agents that use it stop working until GitHub is connected again. The Atwork app stays installed on GitHub until you uninstall it there.
  • Cancel a request: Remove works on a requested connection too. It cancels it in Atwork, not on GitHub.

Related: Connect Atwork to your tools · Choose which connections an agent can use · Automation triggers · Automation actions

Related articles

How to ask Dana or an agent to check back later
Ask Dana or an agent to check something at a set time, from 5 minutes to 30 days ahead. It answers in the same chat or task and notifies you.
How to post AI-written text to LinkedIn after a review
Atwork won't publish a workflow that posts an Agent step's text to LinkedIn unreviewed. Save the draft to a row, have a person approve it, then post that row.
How to send a long Dana job to the background
Click Run in background while Dana works: start a new chat, and get a notification when the job finishes, fails or needs your approval.