Skip to content

fix(ci): mark introspect.py executable (ruff EXE001) - #79

Merged
CybotTM merged 1 commit into
mainfrom
fix/introspect-executable-bit
Jul 24, 2026
Merged

fix(ci): mark introspect.py executable (ruff EXE001)#79
CybotTM merged 1 commit into
mainfrom
fix/introspect-executable-bit

Conversation

@CybotTM

@CybotTM CybotTM commented Jul 24, 2026

Copy link
Copy Markdown
Member

Follow-up to #78. After the ruff fixes there, the main Lint surfaced the next newer-ruff finding:

EXE001 Shebang is present but file is not executable
 --> skills/php-modernization/scripts/introspect.py:1:1

git had introspect.py at mode 100644 despite its #!/usr/bin/env python3 shebang + PEP 723 # /// script metadata. Its siblings modernize_loop.py and verify_php_project.py are already 100755 and pass, so this records the same executable mode.

The CI's unpinned uvx ruff reports EXE001 while an older local ruff does not (skill-repo-skill#183), so it couldn't be reproduced locally — the change matches the passing sibling files exactly.

The main Lint run reported 'EXE001 Shebang is present but file is not
executable' for skills/php-modernization/scripts/introspect.py: git had it
at mode 100644 while it carries a '#!/usr/bin/env python3' shebang and PEP
723 script metadata. Its sibling scripts (modernize_loop.py,
verify_php_project.py) are already 100755 and pass, so the fix is to record
the same executable mode here.

Note: the CI's ruff (unpinned uvx ruff, see skill-repo-skill#183) reports
EXE001 while an older local ruff does not, so this could not be reproduced
locally; the change matches the passing sibling files exactly (shebang +
executable).

Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
Copilot AI review requested due to automatic review settings July 24, 2026 06:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added the skill label Jul 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

@CybotTM
CybotTM merged commit f8bea9e into main Jul 24, 2026
20 checks passed
@CybotTM
CybotTM deleted the fix/introspect-executable-bit branch July 24, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants