Skip to content

security: genericize internal-pattern regexes and pin release action by SHA#28

Merged
opensource-SantanderAI merged 1 commit into
mainfrom
security/pattern-scan-pin-action
Jul 8, 2026
Merged

security: genericize internal-pattern regexes and pin release action by SHA#28
opensource-SantanderAI merged 1 commit into
mainfrom
security/pattern-scan-pin-action

Conversation

@opensource-SantanderAI

Copy link
Copy Markdown
Contributor

What

  • pattern-check.yml: replaces environment-specific hostname fragments with a generic '\.corp\b' TLD pattern (broader detection, no infrastructure naming disclosed).
  • release.yml: pins pypa/gh-action-pypi-publish in the commented-out Trusted Publishing job to the v1.14.0 commit SHA, keeping the repo at 100% SHA-pinned actions even when that job is enabled later.

Why

Defense-in-depth follow-up from a routine security review of the published repositories. No functional changes; CI should stay green.

…by SHA

- pattern-check.yml: replace environment-specific hostname fragments with
  a generic, non-attributable '.corp' TLD pattern.
- release.yml: pin pypa/gh-action-pypi-publish (commented Trusted
  Publishing job) to the v1.14.0 commit SHA so it is already pinned
  whenever the job is enabled.

No behavior change.
@opensource-SantanderAI
opensource-SantanderAI requested review from a team as code owners July 8, 2026 10:13
@opensource-SantanderAI
opensource-SantanderAI merged commit 1ba66ad into main Jul 8, 2026
11 checks passed
@opensource-SantanderAI
opensource-SantanderAI deleted the security/pattern-scan-pin-action branch July 8, 2026 10:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant