Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
# Note: Anybody from org can help with review. In the end, at least one codeowner approval is required.

* @neatudarius @RaduNichita @mguludag @JeffGarland @inbal2l @ednolan @camio

24 changes: 23 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,26 @@ on: [push]

jobs:
pre-commit:
uses: bemanproject/infra-workflows/.github/workflows/reusable-beman-pre-commit.yml@1.1.0
name: Pre-Commit check on Push
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

# Required for local pre-commit hooks (markdownlint-cli, eslint, prettier)
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"

- name: Install npm dependencies
run: npm ci

- uses: pre-commit/action@v3.0.1
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ repos:
hooks:
- id: prettier

- repo: https://github.com/markdownlint/markdownlint
rev: v0.12.0 # Use the latest stable version
# Node-based markdownlint (avoids Ruby 3.1+ requirement of the mdl gem)
- repo: local
hooks:
- id: markdownlint

- repo: https://github.com/zricethezav/gitleaks
rev: v8.17.0 # Use the latest stable version
hooks:
- id: gitleaks
name: markdownlint
entry: markdownlint-cli
language: node
types: [markdown]

exclude: |
^static/.*
Expand Down
Loading
Loading