Home

Awesome

CompatHelper.jl

CompatHelper.jl is a Julia package which keeps your Project.toml [compat] entries up to date.

CategoryStatus
Unit TestsContinuous Integration (Unit Tests)
Integration TestsContinuous Integration (Integration Tests)
DocumentationDocumentation
Code CoverageCode Coverage
Style GuideStyle Guide

Setup

GitHub

Create a file at .github/workflows/CompatHelper.yml with the contents of the CompatHelper.yml that is included in this repository.

If you need to use any special arguments for the main function, you can modify this file to add them.

GitLab

For GitLab you will want to add CompatHelper as a job in your .gitlab-ci.yml file with the contents of the .gitlab-ci.yml file that is included in this repository.

Similarly to the GitHub setup, you can modify the main call here if you need to change any of the default arguments. You must also remember to add the GITLAB_TOKEN and COMPATHELPER_PRIV CI secrets to the project so that CompatHelper can find them.

Environment Variables

GitHub & GitLab

NameDescription
GIT_COMMITTER_NAMEName to associate commits with [Default: CompatHelper Julia]
GIT_COMMITTER_EMAILEmail to associate commits with [Default: compathelper_noreply@julialang.org]
COMPATHELPER_PRIVPlain Text or Base64 Encoded SSH Public Key for git pushes and API calls

GitHub

NameDescription
GITHUB_TOKENGitHub Access Token, user for GitHub API Requests, provided by default on GitHub Actions
GITHUB_REPOSITORYName on GitHub of the organization/repo, provided by default on GitHub
GITHUB_ACTORGitHub Username that triggered the Action, provided by default by GitHub Actions. This is used to CC the user on the pull request if enabled

GitLab

NameDescription
GITLAB_TOKENGitLab Access Token, used for GitLab API Requests
CI_PROJECT_PATHName on GitLab of the organization/repo, provided by default on GitLab
GITLAB_USER_LOGINGitLab Username that triggered the Pipeline, provided by defalt by GitLab CI. This is used to CC the user on pull request if enabled