Skip to content

Optimize init script and update dependencies - #139

Merged
amrabed merged 8 commits into
mainfrom
consolidate-prs-aug-2026
Aug 23, 2026
Merged

Optimize init script and update dependencies#139
amrabed merged 8 commits into
mainfrom
consolidate-prs-aug-2026

Conversation

@amrabed

@amrabed amrabed commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Consolidates the following open pull requests into a single unified PR:

Verification

  • 11/11 pytest tests pass via uv run pytest.

google-labs-jules Bot and others added 8 commits August 23, 2026 06:43
This commit replaces floating version tags with secure, immutable full
commit SHAs for all third-party actions in check.yml and docs.yml to
protect against supply chain and tag-spoofing attacks.
Precompile input validation and file replacement regular expressions in `scripts/init.py` at the module scope to avoid repeated regex compilation overhead. Implement comprehensive unit tests in `tests/test_init.py` covering validation and file replacements.
Bumps the dependencies group with 2 updates in the / directory: [ruff](https://github.com/astral-sh/ruff) and [pre-commit](https://github.com/pre-commit/pre-commit).


Updates `ruff` from 0.16.2 to 0.16.3
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.16.2...0.16.3)

Updates `pre-commit` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.6.1...v4.6.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.16.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pre-commit
  dependency-version: 4.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@sonarqubecloud

Copy link
Copy Markdown

@amrabed amrabed changed the title Precompile regexes in init script, restrict workflow permissions, and update dependencies Optimize init script and update dependencies Aug 23, 2026
@amrabed
amrabed merged commit d64187a into main Aug 23, 2026
5 checks passed
@amrabed
amrabed deleted the consolidate-prs-aug-2026 branch August 23, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant