Skip to content

GitHub Actions

Connect your GitHub account and CronBeat watches your scheduled workflows for you. You do not edit any workflow.

CronBeat connects a GitHub App installation and finds the workflows that have on: schedule. It creates one monitor per workflow and records each scheduled run (start, success and failure) as a ping. A missed run raises a normal incident.

The integration is available on Pro and Enterprise, see Plans and limits. Imported workflows count toward your monitor limit. Over the limit, the remaining workflows are skipped and a warning is shown.

  1. Open the Integrations page in CronBeat and choose Connect GitHub.
  2. On GitHub, choose the account and install the app.
  3. GitHub returns you to CronBeat. Choose Choose repositories on the new connection and pick the repositories to monitor.

A new connection starts with no repositories selected, so nothing is monitored until you choose. Until then the Integrations page asks you to choose.

The app asks for read-only permissions: Actions, Contents (to read the workflow files) and Metadata. Only admins can connect or disconnect GitHub.

If GitHub is already installed on your account

Section titled “If GitHub is already installed on your account”

Connect GitHub always brings you back to CronBeat, even when the app is already installed on your GitHub account. CronBeat asks GitHub to authorize you and then finds the accounts you can connect:

  • With one account, it is connected right away.
  • With several accounts, CronBeat shows Choose the GitHub account to connect. Accounts that are already connected to this project are tagged Already connected. Choose Connect next to the account you want, then pick its repositories.
  • With no account yet, you are sent to GitHub to install the app.

To connect an account that does not appear in the list yet, use Install on another account. If GitHub ever shows you a settings page instead of returning to CronBeat, the app is already installed there: use Connect GitHub again.

Each connection has a selection mode:

  • All repositories: every repository you could access when you connected.
  • Only selected repositories: only the ones you tick. You can change the selection at any time.

Deselecting a repository pauses its monitors, it does not delete them. Selecting it again resumes them.

The list shows at most 300 repositories per connection.

The list only contains repositories that the person who connected the account could access on GitHub at that moment. A limited organization member therefore cannot pull in private repositories they cannot see.

To refresh the list, for example after you got access to more repositories, connect the same account again from the Integrations page. Your current selection is kept.

The same GitHub account can be connected to several CronBeat projects at once. Each project chooses its own repositories. The same repository can be chosen in several projects: each project then gets its own monitors and its own runs.

Disconnecting in one project does not affect other projects that use the same GitHub account. If the GitHub App is uninstalled on GitHub, all projects that use it are disconnected.

Connections made before repository selection existed keep monitoring All repositories until someone changes the selection.

  • A workflow with exactly one schedule entry is monitored.
  • A workflow with several schedule entries is not monitored, because GitHub does not say which entry triggered a run. A warning is shown.
  • The timezone key is supported (IANA name). The default is UTC.
  • Macros such as @daily are not supported by GitHub either.
  • Only runs triggered by schedule count. Manual and push runs are ignored.
  • Scheduled runs can be delayed when GitHub is under load, especially at the start of every hour. Some queued runs may be dropped. Avoid schedules on minute :00.
  • The shortest interval is 5 minutes.
  • Scheduled workflows only run from the default branch.
  • In public repositories, GitHub disables scheduled workflows after 60 days without repository activity. CronBeat shows the monitor as paused (reason: workflow disabled) and resumes it when the workflow is active again.

The default grace period is 30 minutes to absorb these delays. You can change it per monitor, see Monitors and schedules.

  • The schedule and the name are managed by the integration and are read-only.
  • The grace period and the notifications are editable.
  • When a workflow or its schedule is removed, the monitor is paused, not deleted.
  • Deselecting a repository, or disconnecting GitHub in a project, pauses that project’s monitors for it. Selecting it again, or reconnecting, resumes them.
GitHub conclusion CronBeat
success success
failure, timed_out, startup_failure, cancelled failure
skipped, neutral, action_required, stale ignored

CronBeat re-reads your workflows about every 15 minutes. It also syncs soon after a workflow file changes on the default branch of a repository you monitor (about a minute after the push, no GitHub call needed to detect it).

To see a change right away, choose Sync now on the connection. The button is available to admins, works once a minute per connection, and the page updates when the sync finishes.

Manual runs (workflow_dispatch) do not count as scheduled runs.

Tokens from GitHub are not stored. Workflow files are read only to find the schedule.