-
Notifications
You must be signed in to change notification settings - Fork 0
chore: sync workflow templates #272
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 all commits
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -27,20 +27,16 @@ jobs: | |||||||||
| !contains(github.event.issue.labels.*.name, 'automated') | ||||||||||
|
|
||||||||||
| steps: | ||||||||||
| - name: Checkout Workflows repo | ||||||||||
| uses: actions/checkout@v6 | ||||||||||
| with: | ||||||||||
| repository: stranske/Workflows | ||||||||||
| path: workflows-repo | ||||||||||
| - name: Checkout repository | ||||||||||
| uses: actions/checkout@v4 | ||||||||||
|
|
||||||||||
| - name: Set up Python | ||||||||||
| uses: actions/setup-python@v5 | ||||||||||
| with: | ||||||||||
|
||||||||||
| with: | |
| with: | |
| # Use Python 3.11 intentionally: some dependencies in this workflow (including optional extras) | |
| # are not yet fully compatible with Python 3.12 in our CI environment. |
Copilot
AI
Jan 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The condition 'm not in suggestions' on line 141 is redundant. The 'suggestions' list (line 132) only contains matches where score < auto_threshold, so any match with score >= auto_threshold will never be in 'suggestions'. The check 'm not in suggestions' will always evaluate to True when 'm.score >= auto_threshold' is True, making the second condition unnecessary.
| if m.score >= auto_threshold and m not in suggestions: | |
| if m.score >= auto_threshold: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The checkout action was downgraded from v6 to v4. This is an unusual change as typically actions are upgraded to newer versions. If this is intentional for compatibility, it should be documented. Otherwise, consider keeping v6 which may have security or performance improvements.