Shared actions available to both public and private repositories
https://github.com/Kong/public-shared-actions.git
- uses: Kong/public-shared-actions/<action-name>@<SHA>
For example:
- uses: Kong/public-shared-actions/code-build-actions/build-js-sdk@a18abf762d6e2444bcbfd20de70451ea1e3bc1b1 # v4.0.1
public-shared-actions (PSA) repository is a monorepo that hosts multiple GitHub Shared Actions, each with its own release. Updating PSA references in downstream workflows is a manual and often delayed process, leading to inconsistencies and slow adoption of changes. Since each shared action can have its own GitHub release, managing dependencies at the action level is essential. To address this, centralized dependency management needs to be introduced to automate across repositories by raising pull requests whenever a shared action is released, solving both timeliness and consistency challenges at scale.
The Public Shared Renovate config provides a centralized and reusable Renovate configuration tailored for managing release updates of Kong/public-shared-actions. The shared renovate config for PSA can detect and updates action references in GitHub workflow files, supporting both versioned tags (e.g., @v2.8.0) and pinned digests (e.g., @sha256:... # v2.8.0).
Usage
Kong/public-shared-renovate, add the following to the top of your renovate.json or renovate-config.json file:
{
"extends": [
"github>Kong/public-shared-renovate:github-actions"
]
}
{
"extends": [
"github>Kong/public-shared-renovate:github-actions#1.6.0"
]
}
This guide will help you install and configure Lefthook to enforce commit message standards locally.
Lefthook is already listed within dev dependencies in the package.json file. Run pnpm install to install all the dependencies.
lefthook.yml configuration file in the root directory.
The lefthook hooks are synced as part of pnpm install command using a postinstall hook that runs the below command automatically
lefthook install
To verify that Lefthook is correctly set up:
git add .
git commit -m "Test commitlint"
You should see errors like:
git commit -m "feat(ci): test commitlint for scope"
This should pass without any issues.
This guide will help you install and configure zizmor to analyze GH workflows and Actions locally.
pnpm install along with all the other dependencies.