Skip to content

Korver league tournament#9

Merged
athGurnani merged 44 commits into
masterfrom
Korver-League-Tournament
Jan 22, 2026
Merged

Korver league tournament#9
athGurnani merged 44 commits into
masterfrom
Korver-League-Tournament

Conversation

@athGurnani
Copy link
Copy Markdown
Member

No description provided.

bboonstra and others added 30 commits October 5, 2025 19:54
Updates the drawDebug method to draw the current pathChain rather than path segment, and fix path drawing so that correctly iterates through all  points of the line.
Updates the drawDebug method to draw the current pathChain rather than path segment, and fix path drawing so that correctly iterates through all  points of the line.
---

Fix telemetry for Lateral Velocity and Zero Power Acceleration tests to tell that they will drive left, not right.
Robot actually goes to the left(and documentation says so) but the code comments and driver hub text mistakenly call that it goes to the right leading to confusion.
This fixes this typo.
…Field Visualization.

Update Telemetry and Comments for certain lateral tests to accurately display and inform movement to the left

Update Panels to 1.0.9
Allows it to be graphed on panels.

Ref: #31
Fix direction typo(change right to left) in Lateral Zero Power Acceleration tuner.
… second close (#43)

* Add workflows to auto-close, reopen, and lock PRs

Introduces three GitHub Actions workflows: one to automatically close PRs that add new files and label them as 'mistake-pr', another to allow the PR author to reopen such PRs once via a comment, and a third to permanently lock PRs after a second closure. These workflows help enforce repository contribution policies and streamline PR management.

* exclude .github chnages from mistake PR auto-close

* Update mistake-pr.yml

* Fix reopen guard and permanently lock PR after second close

* Fix duplicate comments, copied file detection, and finalize mistake PR logic

* Fix reopen state guard and prevent locking merged PRs

* Make reopen retry-safe and ignore merged PRs

* test: add file to trigger mistake-pr

* Revert "test: add file to trigger mistake-pr"

This reverts commit c77f92c3d8e234d154d2f5b57731d6a009fef03a.

* Improve PR locking and mistake detection workflows

Enhances the GitHub Actions workflows to better handle permanently locked PRs and mistake PR detection. Adds explicit comments and stricter enforcement for PRs that are reopened after being locked, and improves messaging and logic for automatically closing PRs that add new files.

* Add admin override and improve PR lock workflows

Introduces an admin override workflow to allow maintainers to bypass the mistake-PR lock on pull requests. Updates existing workflows to support the new 'admin-overridden' label, refines logic for locking and reopening PRs, and improves comments and label handling for clarity and robustness.

* Make PR lock and comment idempotent in workflow

Update the lock-after-second-close workflow to only add a lock comment and lock the PR if it is not already locked. This prevents duplicate comments and redundant lock actions on already locked PRs.

* Remove lock labels on admin override workflow

Adds logic to remove 'reopen-locked', 'reopen-used', and 'mistake-pr' labels when an admin override is applied, allowing admins to bypass permanent locks. Updates the override comment to reflect label cleanup.

* Revert "Admin override"

* Refactor PR mistake handling workflows

Simplifies and clarifies the logic for auto-closing, reopening, and permanently locking pull requests that add new files. Updates workflows to reduce race conditions, improve comments, and ensure correct label handling. Switches to pull_request_target for better permission handling and streamlines the process for detecting and managing mistake PRs.

* Replace PR lock workflow with disable auto-reopen workflow

Removed the workflow that permanently locks PRs after a second close and added a new workflow that disables automatic reopening after a second close. The new workflow adds a label and comment to indicate that auto-reopen is disabled, but does not lock the PR, allowing continued discussion and manual reopening by maintainers.

* Refactor PR lock workflows and remove admin override

Deleted the admin-override workflow and streamlined the logic and messaging in mistake-pr, reopen-once, and disable-auto-reopen-after-second-close workflows. Improved clarity, reduced redundancy, and updated job/step names for consistency. The admin override feature is no longer available; only maintainers can manually reopen PRs after auto-reopen is disabled.
@athGurnani athGurnani merged commit 78553d2 into master Jan 22, 2026
@github-actions
Copy link
Copy Markdown

This PR was automatically closed because it adds new files.

If this is intentional, comment /not-a-mistake once to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants