-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add Agentic skills: draft-issue, review-blog-post, review-pull-request #9626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
8e43588
5d2b59a
49f1ec3
3ce688a
3eab61e
4ac1d03
0195f15
984b474
495920f
b8fcbdc
15de35e
756422a
6e7dc34
1bce79b
d8cd6a3
8342181
8480fbd
f51b3a1
d4f1337
b07f64c
7a5af3a
26800c7
36cfce0
9540d6b
eb7f3cd
f614530
a447d96
2eae4e7
c07ba12
fc2d197
bcecd90
89a0ae3
e4c2b71
28b0e8b
2262678
bceb1b3
7de665b
9dab0fb
4ec2f17
7b92013
e6bfe03
3d6c8fa
7628ae3
73a8ed7
94b5733
0ab1e1d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| name: Bloomberg OSS Mentorship | ||
| description: >- | ||
| Evaluates issues as candidates for the Bloomberg x OpenTelemetry mentorship | ||
| program. Mentees are new-to-OSS contributors guided by a senior maintainer | ||
| over approximately 3 months. | ||
|
|
||
| evaluation: | ||
| report_note: >- | ||
| Assessed for suitability as a Bloomberg mentorship task. Mentees have | ||
| programming experience but are new to OSS contribution. Prefer well-scoped, | ||
| spec-covered issues with clear acceptance criteria and no requirement for | ||
| deep runtime or SDK internals knowledge up front. | ||
|
|
||
| criteria: | ||
| - label: Scope | ||
| question: >- | ||
| Is the work clearly bounded? Can a mentee reasonably complete it within | ||
| 2–4 weeks with mentor guidance, without scope creep or open-ended design | ||
| questions? | ||
| weight: high | ||
|
|
||
| - label: Ramp-up | ||
| question: >- | ||
| Does the issue require deep C++ runtime knowledge, OTel SDK internals, | ||
| or prior OTel contribution experience — or is it accessible to a | ||
| motivated new contributor with a senior mentor? | ||
| weight: high | ||
|
|
||
| - label: Spec coverage | ||
| question: >- | ||
| Is the expected behavior described in the OTel specification, an | ||
| existing RFC, or a well-defined upstream issue? Or does the contributor | ||
| need to make independent design decisions without a clear spec | ||
| reference? | ||
| weight: medium | ||
|
|
||
| - label: Mentorship value | ||
| question: >- | ||
| Does this issue expose the mentee to meaningful OSS workflows such as PR | ||
| review cycles, CI/test infrastructure, community discussion, or the | ||
| release process? | ||
| weight: medium | ||
|
|
||
| - label: Effort estimate | ||
| question: >- | ||
| What is the rough effort level? Use: e0-minutes / e1-hours / e2-days / | ||
| e3-weeks / e4-months. Ideal range for mentorship is e2-days to e3-weeks. | ||
| weight: low | ||
|
|
||
| verdict_labels: | ||
| recommended: 'mentorship:bloomberg' | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,169 @@ | ||
| name: OpenTelemetry Website | ||
| description: >- | ||
| Repo-specific configuration for open-telemetry/opentelemetry.io. Provides SIG | ||
| keyword inference, label taxonomy, type filters, category buckets, and comment | ||
| templates for the OTel website repository. | ||
|
|
||
| repo: | ||
| default_repo: 'open-telemetry/opentelemetry.io' | ||
| auto_apply_for: | ||
| - 'open-telemetry/opentelemetry.io' | ||
|
|
||
| sig_keywords: | ||
| - keywords: ['Go', 'golang', 'docs/languages/go'] | ||
| label: 'sig:go' | ||
| - keywords: ['Python', 'docs/languages/python'] | ||
| label: 'sig:python' | ||
| - keywords: ['Java', 'docs/languages/java'] | ||
| label: 'sig:java' | ||
| - keywords: ['JavaScript', 'JS', 'Node', 'docs/languages/js'] | ||
| label: 'sig:javascript' | ||
| - keywords: ['.NET', 'dotnet', 'C#', 'docs/languages/net'] | ||
| label: 'sig:dotnet' | ||
| - keywords: ['Ruby', 'docs/languages/ruby'] | ||
| label: 'sig:ruby' | ||
| - keywords: ['PHP', 'docs/languages/php'] | ||
| label: 'sig:php' | ||
| - keywords: ['Rust', 'docs/languages/rust'] | ||
| label: 'sig:rust' | ||
| - keywords: ['Swift', 'docs/languages/swift'] | ||
| label: 'sig:swift' | ||
| - keywords: ['C++', 'cpp', 'docs/languages/cpp'] | ||
| label: 'sig:cpp' | ||
| - keywords: ['Erlang', 'Elixir', 'docs/languages/erlang'] | ||
| label: 'sig:erlang' | ||
| - keywords: ['Kotlin', 'docs/languages/kotlin'] | ||
| label: 'sig:kotlin' | ||
| - keywords: ['Collector', 'OTLP', 'receiver', 'exporter', 'processor'] | ||
| label: 'sig:collector' | ||
| - keywords: ['Operator', 'docs/kubernetes/operator'] | ||
| label: 'sig:operator' | ||
| - keywords: ['Helm', 'chart', 'docs/kubernetes/helm'] | ||
| label: 'sig:helm' | ||
| - keywords: ['Demo', 'docs/demo'] | ||
| label: 'sig:demo' | ||
| - keywords: ['Specification', 'spec', 'docs/specs'] | ||
| label: 'sig:spec' | ||
| - keywords: ['Semantic conventions', 'semconv'] | ||
| label: 'sig:semconv' | ||
| - keywords: ['Profiling', 'profiles'] | ||
| label: 'sig:profiling' | ||
|
|
||
| type_filters: | ||
| - type: docs | ||
| title_prefix: '[Docs]:' | ||
| - type: bug | ||
| title_prefix: 'bug:' | ||
| - type: feat | ||
| title_prefix: 'feat:' | ||
| - type: blog | ||
| title_prefix: 'blog:' | ||
| - type: feedback | ||
| title_prefix: 'page feedback:' | ||
| label_match: 'page feedback' | ||
|
|
||
| category_buckets: | ||
| - 'sig:collector' | ||
| - 'sig:go' | ||
| - 'docs-general' | ||
| - 'blog' | ||
| - 'registry' | ||
| - 'ci-infra' | ||
| - 'feedback' | ||
| - 'uncategorized' | ||
|
|
||
| label_taxonomy: | ||
| area: | ||
| - 'CI/infra' | ||
| - 'Github actions' | ||
| - 'blog' | ||
| - 'docs' | ||
| - 'registry' | ||
| - 'i18n' | ||
| - 'site:accessibility' | ||
| - 'site:design/style' | ||
| - 'ux' | ||
| - 'cleanup/refactoring' | ||
| - 'upstream' | ||
| - 'upstream:docsy' | ||
| - 'upstream:hugo' | ||
| sig: | ||
| - 'sig:android' | ||
| - 'sig:collector' | ||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||
| - 'sig:cpp' | ||
| - 'sig:demo' | ||
| - 'sig:dotnet' | ||
| - 'sig:enduser' | ||
| - 'sig:erlang' | ||
| - 'sig:faas' | ||
| - 'sig:go' | ||
| - 'sig:helm' | ||
| - 'sig:java' | ||
| - 'sig:javascript' | ||
| - 'sig:kotlin' | ||
| - 'sig:obi' | ||
| - 'sig:operator' | ||
| - 'sig:php' | ||
| - 'sig:profiling' | ||
| - 'sig:python' | ||
| - 'sig:ruby' | ||
| - 'sig:rust' | ||
| - 'sig:security' | ||
| - 'sig:semconv' | ||
| - 'sig:spec' | ||
| - 'sig:swift' | ||
| localization: | ||
| - 'lang:bn' | ||
| - 'lang:es' | ||
| - 'lang:fr' | ||
| - 'lang:ja' | ||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||
| - 'lang:pt' | ||
| - 'lang:ro' | ||
| - 'lang:uk' | ||
| - 'lang:zh' | ||
| effort: | ||
| - 'e0-minutes' | ||
| - 'e1-hours' | ||
| - 'e2-days' | ||
| - 'e3-weeks' | ||
| - 'e4-months' | ||
| priority: | ||
| - 'p0-critical' | ||
| - 'p1-high' | ||
| - 'p2-medium' | ||
| - 'p3-low' | ||
| triage: | ||
| - 'triage:accepted' | ||
| - 'triage:accepted:needs-pr' | ||
| - 'triage:deciding' | ||
| - 'triage:deciding:blocked' | ||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||
| - 'triage:deciding:needs-info' | ||
| type: | ||
| - 'type:copyedit' | ||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||
| - 'good first issue' | ||
| - 'help wanted' | ||
|
|
||
| comment_templates: | ||
| stale: | | ||
| This issue has had no activity for {N} months and the referenced content has | ||
| been updated since it was filed. Closing as resolved. If you believe this is | ||
| still relevant, please reopen with updated details. | ||
| needs_info: | | ||
| Thank you for filing this issue. To help us triage it, could you please | ||
| provide: | ||
| - {specific missing info} | ||
| - Is this still relevant with the current documentation? | ||
|
|
||
| We'll revisit once more details are available. | ||
| duplicate: | | ||
| This appears to be a duplicate of #{duplicate_number}. Please check that | ||
| issue for updates. If your case is different, please reopen with details on | ||
| how it differs. | ||
| accepted: | | ||
| This issue has been triaged and accepted. It's ready for someone to work on. | ||
| If you'd like to contribute a fix, please see our | ||
| [contributing guide](https://opentelemetry.io/docs/contributing/). | ||
| good_first_issue: | | ||
| This issue has been triaged as a good first issue for new contributors. See | ||
| our [contributing guide](https://opentelemetry.io/docs/contributing/) for | ||
| how to get started. | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,89 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #!/usr/bin/env bash | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Frontmatter validation hook for OTel blog posts. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Fires on Write/Edit tool calls targeting content/en/blog/**/*.md files. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Reads TOOL_INPUT from stdin (JSON with file_path and content/new_string). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| set -euo pipefail | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| INPUT=$(cat) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Extract file path from the tool input JSON | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FILE_PATH=$(echo "$INPUT" | grep -o '"file_path"[[:space:]]*:[[:space:]]*"[^"]*"' | head -1 | sed 's/.*"file_path"[[:space:]]*:[[:space:]]*"//;s/"$//') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Only check blog posts | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if [[ ! "$FILE_PATH" =~ content/en/blog/.*\.md$ ]]; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exit 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Extract content: prefer "content" (Write tool), fall back to "new_string" (Edit tool) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CONTENT=$(echo "$INPUT" | python3 -c " | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import sys, json | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| try: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| data = json.load(sys.stdin) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| print(data.get('content', data.get('new_string', ''))) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| except: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pass | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| " 2>/dev/null || echo "") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # If no content to check (e.g., Edit with no frontmatter), skip | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if [[ -z "$CONTENT" ]]; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exit 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Only validate if content contains frontmatter (starts with ---) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if [[ ! "$CONTENT" =~ ^--- ]]; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exit 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRORS=() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Extract frontmatter (between first two --- lines) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FRONTMATTER=$(echo "$CONTENT" | sed -n '/^---$/,/^---$/p' | sed '1d;$d') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if [[ -z "$FRONTMATTER" ]]; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| exit 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Check required fields | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if ! echo "$FRONTMATTER" | grep -q '^title:'; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRORS+=("Missing required frontmatter field: title") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if ! echo "$FRONTMATTER" | grep -q '^date:'; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRORS+=("Missing required frontmatter field: date") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if ! echo "$FRONTMATTER" | grep -q '^author:'; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRORS+=("Missing required frontmatter field: author") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Validate date format (YYYY-MM-DD) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DATE_VALUE=$(echo "$FRONTMATTER" | grep '^date:' | sed 's/^date:[[:space:]]*//' | tr -d "'\"" || true) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if [[ -n "$DATE_VALUE" ]] && ! echo "$DATE_VALUE" | grep -qE '^[0-9]{4}-[0-9]{2}-[0-9]{2}$'; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRORS+=("Date format must be YYYY-MM-DD, got: $DATE_VALUE") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Validate author format: '[Name](url)' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AUTHOR_VALUE=$(echo "$FRONTMATTER" | grep '^author:' | sed 's/^author:[[:space:]]*//' || true) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if [[ -n "$AUTHOR_VALUE" ]]; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if ! echo "$AUTHOR_VALUE" | grep -qE "'\[.+\]\(https?://.+\)'"; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ERRORS+=("Author should be in format: '[First Last](https://github.com/username)'") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fi | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Check for H1 headings in content (after frontmatter) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BODY=$(echo "$CONTENT" | awk 'BEGIN{n=0} /^---$/{n++; next} n>=2{print}') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if echo "$BODY" | grep -qE '^# [^#]'; then | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # Check for H1 headings in content (after frontmatter) | |
| BODY=$(echo "$CONTENT" | awk 'BEGIN{n=0} /^---$/{n++; next} n>=2{print}') | |
| if echo "$BODY" | grep -qE '^# [^#]'; then | |
| # Check for H1 headings in content (after frontmatter), ignoring fenced code blocks | |
| BODY=$(echo "$CONTENT" | awk 'BEGIN{n=0} /^---$/{n++; next} n>=2{print}') | |
| if echo "$BODY" | awk ' | |
| BEGIN { | |
| in_fence = 0 | |
| fence_char = "" | |
| } | |
| /^[[:space:]]*```/ { | |
| if (!in_fence) { | |
| in_fence = 1 | |
| fence_char = "`" | |
| next | |
| } | |
| if (fence_char == "`") { | |
| in_fence = 0 | |
| fence_char = "" | |
| next | |
| } | |
| } | |
| /^[[:space:]]*~~~/ { | |
| if (!in_fence) { | |
| in_fence = 1 | |
| fence_char = "~" | |
| next | |
| } | |
| if (fence_char == "~") { | |
| in_fence = 0 | |
| fence_char = "" | |
| next | |
| } | |
| } | |
| !in_fence && /^# [^#]/ { | |
| found = 1 | |
| exit | |
| } | |
| END { | |
| exit found ? 0 : 1 | |
| } | |
| '; then |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "hooks": { | ||
| "PreToolUse": [ | ||
| { | ||
| "matcher": "Write|Edit", | ||
| "hooks": [ | ||
| { | ||
| "type": "command", | ||
| "command": "bash ${PLUGIN_DIR}/hooks/frontmatter-check.sh \"$TOOL_INPUT\"" | ||
|
vitorvasc marked this conversation as resolved.
Outdated
|
||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.