Skip to content

ci: fix zizmor security analysis findings across workflows - #3888

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:ci-zizmor-fixes
Jul 30, 2026
Merged

ci: fix zizmor security analysis findings across workflows#3888
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:ci-zizmor-fixes

Conversation

@alan-agius4

Copy link
Copy Markdown
Contributor

PR Checklist

Please check to confirm your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Zizmor reports security analysis findings on workflow triggers (pull_request_target), template expansions in reusable-release.yml, and missing permissions in rules_sass-compiler-updates.yml.

Issue Number: N/A

What is the new behavior?

  • Adds # zizmor: ignore[dangerous-triggers] - {Trigger is safe as workflow does not checkout untrusted code} to safe pull_request_target workflows (codeql.yml and dev-infra.yml).
  • Resolves code injection via template expansion in .github/workflows/reusable-release.yml by using $WORKFLOW_REF environment variable.
  • Defines explicit workflow and job permissions in .github/workflows/rules_sass-compiler-updates.yml.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Suppresses safe dangerous-triggers findings, resolves template injection via environment variables in reusable-release.yml, and adds explicit permissions to rules_sass-compiler-updates.yml.
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jul 30, 2026
@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Jul 30, 2026

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@alan-agius4
alan-agius4 merged commit a222d10 into angular:main Jul 30, 2026
17 checks passed
@alan-agius4

Copy link
Copy Markdown
Contributor Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4
alan-agius4 deleted the ci-zizmor-fixes branch July 30, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants