-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): remove rust-ci.yml as repo has no Cargo.toml #67
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
base: main
Are you sure you want to change the base?
Changes from all commits
384393a
aa1801d
a465947
17a5b41
4dc3db8
3196f1d
0ca5edc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "name": "Immutable-Tags", | ||
| "target": "tag", | ||
| "enforcement": "active", | ||
| "conditions": { | ||
| "ref_name": { | ||
| "include": ["~ALL"], | ||
| "exclude": [] | ||
| } | ||
| }, | ||
| "bypass_actors": [], | ||
| "rules": [ | ||
| {"type": "deletion"}, | ||
| {"type": "non_fast_forward"}, | ||
| {"type": "update"}, | ||
| {"type": "required_signatures"} | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 3196f1d by restoring the |
||
| "name": "Optimus-Branch", | ||
| "target": "branch", | ||
| "enforcement": "active", | ||
| "conditions": { | ||
| "ref_name": { | ||
| "include": ["~DEFAULT_BRANCH"], | ||
| "exclude": [] | ||
| } | ||
| }, | ||
| "bypass_actors": [], | ||
| "rules": [ | ||
| { | ||
| "type": "deletion" | ||
| }, | ||
| { | ||
| "type": "non_fast_forward" | ||
| }, | ||
| { | ||
| "type": "required_signatures" | ||
| }, | ||
| { | ||
| "type": "pull_request", | ||
| "parameters": { | ||
| "required_approving_review_count": 2, | ||
| "dismiss_stale_reviews_on_push": true, | ||
| "require_code_owner_review": true, | ||
| "require_last_push_approval": true, | ||
| "required_review_thread_resolution": true, | ||
| "require_extra_approval_for_unattributed_changes": true, | ||
| "required_reviewers": [], | ||
| "allowed_merge_methods": [] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🤖 get_repo_knowledge executed:
Length of output: 10691 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- ruleset file ---'
cat -n .github/rulesets/Optimus-Branch.json
printf '%s\n' '--- repository references ---'
rg -n --hidden --glob '!node_modules' --glob '!dist' 'allowed_merge_methods|Optimus-Branch|rulesets|merge methods' .github README.md . 2>/dev/null | head -200Repository: hyperpolymath/fraying-model-computational-testbed Length of output: 2072 🌐 Web query:
💡 Result: In the GitHub REST API, the Citations:
🏁 Script executed: #!/bin/bash
set -eu
cat -n .github/rulesets/Optimus-Branch.jsonRepository: hyperpolymath/fraying-model-computational-testbed Length of output: 1509 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- file ---'
sed -n '1,90p' .github/rulesets/Optimus-Branch.json
printf '%s\n' '--- references ---'
rg -n 'allowed_merge_methods|Optimus-Branch' .github README.md 2>/dev/null || trueRepository: hyperpolymath/fraying-model-computational-testbed Length of output: 1376 🏁 Script executed: #!/bin/bash
set -eu
python3 - <<'PY'
import urllib.request
url='https://docs.github.com/en/rest/orgs/rules?apiVersion=2022-11-28'
try:
data=urllib.request.urlopen(url, timeout=10).read().decode('utf-8','replace')
for needle in ('allowed_merge_methods','At least one','pull_request'):
print(needle, data.find(needle))
i=data.find(needle)
if i >= 0:
print(data[max(0,i-500):i+1000])
except Exception as e:
print(type(e).__name__, e)
PYRepository: hyperpolymath/fraying-model-computational-testbed Length of output: 331 Allow at least one merge method. When GitHub processes this 🤖 Prompt for AI Agents |
||
| } | ||
| }, | ||
| { | ||
| "type": "required_status_checks", | ||
| "parameters": { | ||
| "strict_required_status_checks_policy": true, | ||
| "do_not_enforce_on_create": false, | ||
| "required_status_checks": [] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🤖 get_repo_knowledge executed:
Length of output: 10691 🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- changed file ---'
cat -n .github/rulesets/Optimus-Branch.json
printf '%s\n' '--- workflow files and audit references ---'
fd -t f .github/workflows .github/rulesets | sort
rg -n -C 5 'main-estate-audit|required_status_checks|strict_required_status_checks_policy|branch protection|ruleset' .github
printf '%s\n' '--- relevant diff ---'
git diff -- .github/rulesets/Optimus-Branch.json .github/workflowsRepository: hyperpolymath/fraying-model-computational-testbed Length of output: 5865 🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- main estate audit workflow ---'
cat -n .github/workflows/main-estate-audit.yml
printf '%s\n' '--- all workflow names and job identifiers ---'
for f in .github/workflows/*.yml .github/workflows/*.yaml; do
[ -f "$f" ] || continue
printf '\n--- %s ---\n' "$f"
rg -n '^(name:| [A-Za-z0-9_-]+:| name:| runs-on:| uses:)' "$f" || true
done
printf '%s\n' '--- ruleset history/status in the working tree ---'
git status --short
git diff --stat
rg -n -C 4 'legacy|branch protection|main-estate-audit|Optimus-Branch|required_status_checks' .github README.md 2>/dev/null || trueRepository: hyperpolymath/fraying-model-computational-testbed Length of output: 13310 🌐 Web query:
💡 Result: When configuring required status checks in GitHub rulesets, you must specify the exact context name of the check [1][2]. GitHub does not automatically index these names for rulesets defined above the repository level (e.g., at the organization or enterprise level), requiring you to enter the name manually [1][2]. The naming format for these status checks depends on the type of check [1][2]: - Workflow: The name format is <workflow_file_name> / <job_name>. - Reusable workflow: The name format is <workflow_file_name> / <reusable_workflow_file_name> / <job_name>. - Other checks: The name format is <job_name>. Important considerations: - Event Context Suffixes: If a workflow is triggered by multiple events (e.g., both pull_request and push), GitHub may append the event name in parentheses to the check context (e.g., <workflow_name> / <job_name> (<event_name>)) [3]. You must include this exact suffix in the ruleset configuration if it appears in your check runs; otherwise, the check will remain in a pending state, blocking the merge [3]. - Manual Configuration: Because rulesets may be applied across many repositories, GitHub does not "know" which jobs will exist in every future workflow [1]. Always verify the exact context name reported in the GitHub UI (in the merge box or check runs) to ensure it matches your ruleset configuration [4][3]. - Troubleshooting: If your check is not being detected, verify that the workflow is actually triggering on the relevant event (e.g., ensure you have added the merge_group event if you are using merge queues) [1][4]. Required status checks do not account for matrix or event trigger types automatically; they rely entirely on the string match of the context [1]. Citations:
Configure the required status-check context.
🤖 Prompt for AI Agents |
||
| } | ||
| } | ||
| ] | ||
| } | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.