Skip to content

chore(ci): add workflow scanning, group security updates, harden checkouts - #46

Open
ManukMinasyan wants to merge 1 commit into
1.xfrom
chore/dependabot-and-workflow-hardening
Open

ManukMinasyan wants to merge 1 commit into
1.xfrom
chore/dependabot-and-workflow-hardening

Conversation

@ManukMinasyan

Copy link
Copy Markdown
Contributor

Same cleanup as relaticle/custom-fields#217, applied here.

No workflow scanning at all

This repository has no zizmor.yml, so its security tab said "no analysis found" rather than reporting a clean result. Added the audit workflow used by the sibling packages. It finds 8 issues, all fixed here:

  • 3 artipacked: checkouts persisting a credential they never use.
  • 4 template-injection: step outputs interpolated straight into run: bodies.
  • 1 excessive-permissions: tests.yml declared no permissions: block, so it inherited the default token.

Verified with zizmor --no-online-audits: 8 findings before, 0 after.

The gh-pages checkout in deploy-docs.yml is pushed to later in the job, so it keeps its credential and carries an inline ignore saying why.

Security update grouping

The composer group was scoped to dependency-type: development, so production advisories arrived one PR per advisory. Every ecosystem now has a security-updates group alongside its version-updates group. applies-to defaults to version updates, which the previous groups relied on implicitly.

Also done outside this PR

Dependabot security updates were disabled on this repository. Now enabled.

…kouts

No workflow ran zizmor here, so the security tab reported no analysis rather
than a clean result. Adding the audit surfaces eight findings, all fixed in
this change: checkouts that never push stop persisting a credential, the
gh-pages checkout that does push says so, step outputs move out of `run:`
into `env:`, and tests.yml declares read-only permissions instead of
inheriting the default write token.

The composer group only covered development dependencies, so production
advisories arrived one PR each. Every ecosystem now has a security-updates
group; `applies-to` defaults to version updates, which the previous groups
relied on implicitly.
Copilot AI lite review requested due to automatic review settings September 7, 2026 12:24

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 was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

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.

3 participants