Skip to content
Merged
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
6 changes: 4 additions & 2 deletions .github/rulesets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ gh api -X POST repos/ahauy/FlowSnap/rulesets --input .github/rulesets/main.json
# Confirm
gh api repos/ahauy/FlowSnap/rulesets --jq '.[] | {id, name, enforcement, .conditions?}'

# Update an existing ruleset instead of creating a duplicate
gh api -X PATCH repos/ahauy/FlowSnap/rulesets/<id> --input .github/rulesets/main.json
# Update an existing ruleset instead of creating a duplicate.
# This deployment answers PATCH with 404 and only accepts PUT (verified 2026-11-05:
# PATCH -> HTTP 404 even for a minimal body, PUT -> HTTP 200).
gh api -X PUT repos/ahauy/FlowSnap/rulesets/26587443 --input .github/rulesets/main.json

# Remove
gh api -X DELETE repos/ahauy/FlowSnap/rulesets/<id>
Expand Down
4 changes: 4 additions & 0 deletions .github/rulesets/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
{
"context": "GitGuardian Security Checks",
"integration_id": 46505
},
{
"context": "Conventional commit subjects",
"integration_id": 15368
}
]
}
Expand Down
Loading