mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-28 01:32:31 +00:00
This change makes the `nix` pre-commit hook optional in development environments, and enforced only inside Github Actions.
18 lines
453 B
YAML
18 lines
453 B
YAML
name: Run pre-commit hooks
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "develop"
|
|
- "release*"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
# Call the workflow in the XRPLF/actions repo that runs the pre-commit hooks.
|
|
run-hooks:
|
|
uses: XRPLF/actions/.github/workflows/pre-commit.yml@56de1bdf19639e009639a50b8d17c28ca954f267
|
|
with:
|
|
runs_on: ubuntu-latest
|
|
container: '{ "image": "ghcr.io/xrplf/ci/tools-rippled-pre-commit:sha-41ec7c1" }'
|