OpenProject and GitHub integration

Teams running self-hosted OpenProject want pull requests and Actions results visible on work packages without manual updates. This page explains the planned approach, what to confirm in the official docs, and the setup, identity, security and testing steps.

On this page

How OpenProject GitHub integration links code activity to work packages

The GitHub integration lets a delivery team see code activity directly on the OpenProject work package it belongs to, so a reviewer, project manager or auditor can follow a change from planning to merge without switching tools. The planned method combines OP# references in commit messages, branch names or pull request titles with webhooks that send GitHub events to OpenProject. Each reference ties a piece of code work to a work package ID, and the webhook carries the status change back so the work package reflects what happened in the repository.

The exact supported mechanism, its configuration and any plan requirement must be confirmed against the official OpenProject documentation before the build starts. Confirm which GitHub events are supported, whether pull request status and Actions results are both covered, how the OP# pattern is matched, and whether the reference must sit in a specific field. Also confirm where the webhook secret is set and how the receiving endpoint verifies GitHub's signature, since that determines who can post into your instance. The Community edition is free and includes work packages, and this topic is available in that edition according to the topic brief, so the plan check is about the integration itself rather than the base product.

Before the build, decide which GitHub organization, repositories and branch naming rules feed each OpenProject project, and who may create or merge pull requests that reference work packages. Test the flow on a non-production instance with one repository, then review the linked activity against the work package permissions held by each role, so that code activity does not expose work packages to people who cannot see them in OpenProject.

What the integration needs before setup starts

The GitHub integration depends on decisions made on both sides before any webhook is created. Each card below is a prerequisite to confirm against the vendor documentation for the versions you run, so the setup does not stall halfway through.

A supported self-hosted OpenProject release

Start with the OpenProject version you plan to run and check it against the GitHub integration documentation, which should name the releases it targets. Current releases include 17.9.0 and 17.9.2, but confirm the exact version the integration docs target before you plan the upgrade path. Note whether the integration works in your edition, since the Community edition is free and includes work packages, but feature availability should be verified for each plan.

Release notes

The GitHub edition in use

Confirm whether your organization uses GitHub.com or GitHub Enterprise Server, because the webhook settings, API base URL and administrative controls differ between them. Record the hostname that OpenProject will call and the organization or repositories in scope. A self-hosted GitHub Enterprise Server also needs its certificate chain trusted by the OpenProject host.

An administrator account on each side

Setup needs an OpenProject administrator who can enable the integration and a GitHub owner or administrator who can register webhooks and grant app or token permissions on the repositories. Ask who holds these roles today and whether they can approve the access scope. Separate accounts for setup and day-to-day use make later access reviews easier to explain.

A reachable HTTPS endpoint for webhooks

GitHub must deliver events to a public or internally reachable HTTPS address on your OpenProject instance, so confirm the hostname, TLS certificate and any reverse proxy or firewall rules in front of it. Internal-only networks need a path that GitHub can reach, such as a self-hosted runner or a relay you control. Test delivery from GitHub before relying on it for status updates.

An authentication method for API calls

Decide how the integration authenticates to GitHub and to OpenProject before you configure either side. Choose between a GitHub App or a token with scoped repository access, and between a personal API token and an OAuth application in OpenProject. Each choice changes who appears as the actor on linked events, so record the decision and the owner who rotates the credential.

Project structure and work package identifiers

OP# references in pull requests and commit messages only resolve when the work package identifiers are stable and known to developers. Agree which OpenProject projects map to which repositories, and confirm that each team understands the OP# number format. Renaming projects or moving work packages later can break how references are read, so settle the structure first.

How a pull request event reaches a work package

The flow starts when a developer pushes a branch or opens a pull request that contains an OP# reference. GitHub sends a webhook over HTTPS to the endpoint published by your reverse proxy or firewall, the point where traffic enters your network. The proxy forwards the request to OpenProject, which validates the payload and matches the reference to a work package stored in PostgreSQL. The linked pull request and Actions status then appear on that work package. When events do not arrive, check the proxy rules, the TLS certificate and the webhook secret first.

Webhook path from GitHub through the customer's proxy to a linked work package.

Configuration sequence for linking GitHub to OpenProject

This sequence connects GitHub pull requests and Actions status to OpenProject work packages through OP# references and webhooks. Each step ends with a check, so the team knows the link works before it reaches production projects.

  1. Confirm the documented method for your release

    The platform owner checks the OpenProject release notes for the version in use and confirms the GitHub integration method, supported webhook events, and OP# reference format for that release. Confirm that the integration is available in the Community edition on your instance, since this affects whether any Enterprise plan is needed. Record the version number and the method in a short written note. The step is done when that note is approved by the platform owner and the version matches the production instance.

  2. Create a dedicated integration account

    An OpenProject administrator creates a service user for GitHub, not a personal account or a shared administrator login. Grant it membership only in the projects in scope, with the lowest role that allows it to read and update work packages. Generate the API credential for this user, and confirm whether your instance permits API tokens for it. Store the credential in your secret manager. The check: an API call with the credential succeeds for an in-scope project and returns an access error for an out-of-scope project.

  3. Register the webhook with the correct payload and secret

    A GitHub repository or organization owner adds a webhook with the payload type and content settings that the OpenProject integration documentation specifies for your release. Generate a long random secret, save it in the secret manager, and enter the same value in OpenProject so payload signatures can be verified. Use a repository-level webhook for a pilot, and move to organization level only after the pilot is validated. The check: GitHub's recent deliveries page shows a successful response to the test delivery sent from the webhook settings.

  4. Restrict events and repositories to the scope

    The GitHub owner selects only the event types that the integration documentation lists for pull requests and workflow runs, and leaves all other events unchecked. Limit the webhook to the repositories named in the written scope, and record that list next to the webhook configuration. Avoid subscribing to events that the integration does not use, since each extra event adds deliveries that OpenProject must process. The check: the webhook's event list matches the scope note, and a test event in an out-of-scope repository produces no delivery.

  5. Test one OP# reference in a sandbox project

    A project lead creates a work package in a non-production OpenProject project and notes its ID. The developer then uses the OP# reference format from the documentation in a branch name, pull request title, or pull request description in an in-scope test repository. Open the pull request and wait for any workflow run to finish. The check: the pull request reference appears on the test work package, and OpenProject's logs show the delivery was processed without errors.

  6. Verify pull request and Actions status on the work package

    The tester moves the pull request through its states, including review, approval, and merge, and confirms each change shows on the linked work package. Run a workflow and confirm its status updates on the same work package. Then send a delivery with a deliberately wrong secret, or review the signature checks in the logs, to confirm that unsigned or mis-signed payloads are rejected. The step is done when the status changes appear correctly and the rejected payload is recorded as a failed verification.

  7. Roll out the integration project by project

    The platform owner enables the link for one production project at a time, starting with the team that ran the sandbox test. Publish the OP# reference convention to those teams, with an example that uses an existing work package. Review failed deliveries in GitHub and OpenProject logs before adding the next project. Confirm with each project lead that status updates appear as expected. The check: each project has a named owner, its delivery log has no unresolved failures, and the scope note is updated with the new project.

How GitHub objects map to OpenProject fields

This table compares each GitHub object with the OpenProject object it would attach to, the identifier used to make the match, and what to confirm before building. Read it as a design checklist: the match key and unmatched-event handling must be confirmed in the OpenProject documentation for your version, and user matching needs an explicit rule before any events flow.

GitHub objectOpenProject objectIdentifier used to matchWhat to confirm
Pull requestWork packageOP# reference in the PR title, body or branch nameExact reference format, whether the link is created on open or on merge, and how a PR without a reference is handled
BranchWork packageOP# reference in the branch nameWhether branch names are parsed for work package IDs and whether branch events appear on the work package
CommitWork package activityOP# reference in the commit messageWhether commit messages are matched, how multiple references in one message are treated, and whether the commit is linked or only mentioned
GitHub Actions workflow runWork package status or activity entryCommit SHA or pull request linked to the work packageWhich workflow events are received through webhooks, the status values shown, and whether runs from forks are excluded
RepositoryProjectRepository full name, mapped to a project identifier or project IDThe exact mapping key, whether one repository can feed several projects, and the webhook secret used to verify payloads
User identityUser accountGitHub login matched to an OpenProject login, email or external identifierThe explicit matching rule you adopt, how unmatched logins are handled, and who maintains the mapping when people join or leave
OP# reference formatWork package IDNumeric work package ID after the OP# prefixThe numeric ID is not the displayed title, so confirm it in your version and decide how references survive work package moves between projects
Unmatched eventsDiscarded or logged eventNo reference or no mapped project foundWhether events are dropped, logged or routed to a fallback, and who reviews the log so that missing links are noticed

Choosing between GitHub.com and GitHub Enterprise Server

GitHub.com is hosted by GitHub, so webhook deliveries come from the public internet and your OpenProject instance is the side that must be reachable. The practical work is publishing a receiving address that GitHub's delivery service can connect to over HTTPS with a certificate that public clients trust. Because GitHub.com does not use your internal certificate authority, the trust work sits on your endpoint rather than in GitHub's settings.

  • Endpoint reachability: Deliveries arrive from outside your network, so the webhook route must be published through a reverse proxy, load balancer or firewall rule that accepts inbound HTTPS.
  • Certificate trust: Use a certificate chain that validates from an external client. A certificate issued only by an internal authority will fail for GitHub.com deliveries.
  • Outbound control: You have no egress rule to configure on the GitHub side. Your filtering concern is inbound traffic, and it should be limited to the webhook route.
  • Secret ownership: Your team creates the signing secret, stores it in OpenProject, and enters the matching value in the GitHub webhook settings. Anyone with webhook admin rights on the repository or organization can view or change that setting, so keep that role small.
  • Exposure: A public listener needs rate limiting, request logging and monitoring that you own.

Check that the OpenProject hostname resolves publicly, that the certificate chain validates from outside your network, and who holds webhook admin rights in each repository or organization.

Security controls for the GitHub webhook and API access

The GitHub link adds an inbound webhook endpoint and an outbound credential to your OpenProject installation, so both become part of your attack surface. The cards below are controls to verify in your own environment before go-live, and to re-check after every upgrade.

Unique secret per integration

Give each webhook its own signing secret rather than reusing one across projects, repositories or environments. OpenProject should reject any payload whose signature does not match the secret configured for that integration. Confirm in your installed version how the signature is checked and where the secret is stored, and test that a payload signed with a wrong or old secret is refused.

Least-privilege GitHub credentials

Grant the GitHub token or app only the repository permissions the integration needs to read pull requests, workflow runs and commits. Avoid organization-wide owner tokens or personal access tokens tied to an administrator account. Review the granted scopes against what the integration documentation lists, and record which repositories each credential can reach.

HTTPS with valid certificates

Serve the webhook endpoint and the OpenProject web interface only over HTTPS with a certificate that a client trusts, and confirm that GitHub delivers payloads to the exact public URL you configured. Plain HTTP endpoints expose payloads and signatures to anyone on the path. Check certificate expiry dates and the renewal process as part of the same review.

Restricted webhook ingress

At your reverse proxy or load balancer, limit the webhook path to the source address ranges that GitHub publishes for its webhook deliveries, where GitHub documents them. Block other paths and methods on that route. Confirm the current ranges in GitHub's documentation before you write the rule, and recheck them on a schedule because they can change.

Credential rotation and change records

Set a rotation schedule for webhook secrets, GitHub tokens and app private keys, and rotate them after staff changes or suspected exposure. Record who changed each credential, when, and which integration it affects. Ask your team whether OpenProject's audit trail covers these settings for your version, and if not, keep the change log in your own change management system.

Logging of rejected payloads

Keep logs of every webhook request that fails signature checks, uses an unknown event type or arrives at an unexpected rate. Review them with your security monitoring so that spoofed or misconfigured deliveries are visible. Confirm where OpenProject writes webhook delivery records and how long they are retained, and set your log retention to match your policy.

Common failures when GitHub events do not reach OpenProject

This table pairs common symptoms of missing GitHub events in OpenProject with their likely causes and fixes. The fixes depend on the integration method you confirm, so check GitHub's webhook delivery log first: it shows the status code, response time and payload GitHub sent. Use the table to find which layer failed before you change any settings.

SymptomLikely causeFix
Webhook deliveries fail with timeouts or TLS errorsThe OpenProject endpoint is slow, unreachable from GitHub, or served with an incomplete certificate chainConfirm the endpoint is reachable from GitHub, serves a full certificate chain and responds within GitHub's delivery timeout. Redeliver the failed event from the log.
Deliveries are rejected with a signature mismatchThe secret in OpenProject differs from the one in GitHub, or it was rotated on only one sideCopy the current secret to both systems, remove stray spaces, save, then redeliver a test event.
Events arrive but no work package changesThe OP# reference is missing from the PR title, branch or commit message, or it is mistypedAdd the exact OP# reference with the correct work package ID, then redeliver. Confirm the pattern the integration matches.
A work package in another project is updatedThe same work package ID is referenced in the wrong project, or the webhook scope includes projects it should notLimit the webhook to the intended projects and confirm the ID in the reference points to the work package you expect.
Duplicate comments appear after retriesGitHub redelivers after a slow or failed response, and the receiver does not skip events it already processedMake sure the first response returns quickly. Ask the vendor or DeployOpen whether the chosen method deduplicates by delivery ID.
Activity shows the integration account, not the developerThe developer's GitHub identity is not linked to an OpenProject user, so the service account acts for themLink each developer's GitHub identity to their OpenProject user, using the mapping step that the confirmed method provides.
Actions status never updates on the work packageThe event type that reports Actions results is not subscribed, or the workflow run carries no OP# referenceSubscribe to the event type that reports workflow results and include the OP# reference in the run's commit or title.

What the Community edition covers and what to confirm for this feature

The Community edition is free and includes work packages, Gantt charts, agile boards, time tracking and dashboards, with community support. The topic brief places the GitHub integration in that edition, which means a team can link pull requests and Actions status to work packages without buying an Enterprise subscription. Treat that as a starting point, not a final answer. Plan requirements for integrations can change between releases, so check the feature against the exact OpenProject release you run, and read the GitHub integration documentation for that version before you commit to a design. The release notes list the current versions, including 17.9.2, and are the place to see what changed recently.

Some parts of an integration can sit behind Enterprise even when the core link works on Community. Typical examples are single sign-on for the people or service accounts that use the integration, LDAP group synchronization, and advanced administration controls. The Enterprise on-premises plan is priced per named user per month, with tiers at 5.95, 10.95 and 15.95 euros and minimum user counts for some tiers, as set out on the pricing page. Because the price scales with named users, a small pilot that needs one Enterprise feature may still be charged for a minimum user block. Ask for the edition and feature list in writing, and have the quote show the license cost separately from the integration work so you can compare the two options fairly.

Questions teams ask before building the GitHub integration

How much effort does a GitHub integration with OpenProject take?

Effort depends on four things: the GitHub setup, the number of repositories, how users are matched between the two systems, and the network path from GitHub to your OpenProject instance. A single GitHub organization with a few repositories, one reachable OpenProject instance, and matching email addresses is a small job. Effort grows when several GitHub organizations feed one OpenProject, when developers use different addresses in GitHub and OpenProject, or when OpenProject sits on a private network that GitHub cannot reach. Each repository needs its link configured and tested, and each team needs its OP# reference convention agreed. Ask for the quote to show how each driver changes the scope.

Can our internal team build the GitHub integration without outside help?

Yes, an internal team can build it if it has administrative access to both systems and the skills to use them. The team needs GitHub organization and webhook administration, OpenProject administration including API token settings and project configuration, basic networking knowledge for inbound HTTPS, and time to test edge cases such as pull requests that reference several work packages. Outside help is most useful when one of those skills is missing, when the team has no capacity to run a test plan, or when it needs a documented handover. Whichever route you choose, confirm the skills before the build starts so the schedule does not depend on guesswork.

How long does a GitHub integration take to deliver?

The timeline is set by the written scope, and the duration is not fixed in advance. The main factors are the number of repositories and projects in scope, how much identity matching is needed, whether separate test and production environments are required, and how long network or firewall changes take to approve. Security review cycles also add time when the GitHub integration must be signed off. DeployOpen engagements are normally fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask for milestone dates in that agreement and for a list of the approvals that sit outside the project.

What does our team need to provide before the work starts?

Prepare these inputs before work starts, so the build is not held up by access requests:

  • GitHub organization owner or admin access to configure webhooks and any app used for the link
  • OpenProject administrator access and a decision on which projects receive GitHub activity
  • A test OpenProject project and a test repository, kept separate from production
  • A confirmed network path from GitHub to OpenProject, with firewall or proxy changes approved in advance
  • An agreed OP# reference convention, plus a named owner for each repository

Assign one person on your side to approve decisions during the build, since open questions about naming and access are the most common cause of delay.

Is the GitHub integration available in the free Community edition?

Yes, the GitHub integration is documented as available in the free OpenProject Community edition. The Community edition includes work packages, Gantt charts, agile boards, time tracking and dashboards, with community support. Enterprise applies when you need features listed for the Enterprise plans, such as single sign-on through SAML, OIDC, CAS, Kerberos or Okta, LDAP group synchronization and custom branding. If GitHub-linked users must sign in through your central identity provider, plan for Enterprise at the start. Confirm the Community feature set against the OpenProject version you deploy, and review the OpenProject pricing page for current plan terms.

What should a GitHub integration quote include?

A useful quote states the scope in concrete terms: which GitHub organizations and repositories are linked, which OpenProject projects receive events, and which event types are covered, such as pull requests and Actions status. It should name the environments involved, including a test environment and the production instance, and describe the test plan, including pull request and workflow cases that reference work packages. The quote should cover how users are matched between systems, what documentation and admin handover you receive, and whether a retest is included after fixes. Finally, ask what is excluded, such as Enterprise licensing, hosting changes or changes to GitHub policy, so the total effort is clear before you sign.

Do we need ongoing support after the GitHub integration goes live?

Many teams need some ongoing attention, because links break when GitHub settings change, when OpenProject is upgraded, when tokens expire, or when new repositories are added. Whether you need a retainer depends on how much change you expect and whether your internal team can absorb it. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, so you can choose coverage that matches your change rate. Ask any provider to state what happens after go-live, who responds to a broken link, and how upgrades to OpenProject are tested against the integration before they reach production.

How DeployOpen scopes and delivers the GitHub integration

DeployOpen treats the OpenProject and GitHub integration as a defined piece of work inside your own infrastructure. We agree what gets linked, which repositories and projects are in scope, and how the webhook and access setup will be tested before anything goes live.

How we scope

  • Confirm which GitHub organizations, repositories and OpenProject projects will be linked, and who owns each one.
  • Agree in writing whether pull request, branch and Actions status events are in scope, and which OP# reference format teams will use.
  • Record the GitHub token or app permissions, webhook endpoint and network path to your OpenProject instance before work starts.

How we build

  • Configure the GitHub webhook and OpenProject receiving settings in a test instance, then check that events reach the right work packages.
  • Test OP# reference parsing in branch names, commit messages and pull request titles with sample work packages.
  • Review token scopes and secret handling so credentials are stored outside source control and rotated on a documented schedule.

How we hand over

  • Provide a written runbook covering webhook setup, event flow, token rotation and how to troubleshoot missed updates.
  • Document the agreed scope, configuration values and test results so your team can review them without us.
  • Walk your platform and development leads through the setup and confirm acceptance against the written scope.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • Revisit the integration when OpenProject releases or GitHub API and webhook behavior changes affect your setup.
  • Confirm with your own team which support level and response expectations apply before the engagement starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.