Getting started¶
gh-plumbing exposes three integration surfaces. Pick the one that matches the change you want in your target repository.
Choose your integration¶
-
:material-cog-sync: Reusable workflow
Call a
reusable-*.yamlworkflow from your own.github/workflows/*.yaml. -
:material-robot: Probot configuration
Extend a shared
commons-*.ymlvia_extends:without workflow changes. -
:material-update: Renovate preset
Reference the shared preset in
renovate.jsonto inherit labels and base configuration.
Reusable workflow¶
.github/workflows/build-static-tests.yaml
on:
push:
jobs:
static:
uses: nolte/gh-plumbing/.github/workflows/reusable-pre-commit.yaml@develop
Reference selection
@developalways tracks the latest changes; recommended for internal repositories that follow this project closely.@vX.Y.Zpins to a released version; recommended when you need reproducibility.masterrefreshes automatically on every published release and mirrors the latest release tag.
Probot _extends¶
.github/settings.yml
_extends: gh-plumbing:.github/commons-settings.yml
repository:
name: my-project
description: My project description
topics: example, demo
The Probot Settings App resolves the _extends: key. Local keys override inherited values.
Renovate preset¶
The preset enables pre-commit updates, the dependency dashboard, and applies the chore + dependencies labels.