Skip to content

ci: harden Actions and use Node 26 - #52

Open
Fannon wants to merge 10 commits into
mainfrom
chore/harden-actions-20261120
Open

Fannon wants to merge 10 commits into
mainfrom
chore/harden-actions-20261120

Conversation

@Fannon

@Fannon Fannon commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Harden GitHub Actions with restrictive token permissions, immutable action references, checkout credential restrictions, workflow validation, and maintainer ownership.
Keep necessary release permissions within the original permission ceilings and enable dependency updater coverage for action pins.

CI, schema generation, and publishing use Node.js 26.
The published package exports schemas through a small JavaScript wrapper without production dependencies.
Remove the newly introduced Node.js 26 engine requirement, synchronize the lockfile, and document that consumers do not inherit the tooling runtime baseline.

Organization approval policies, allowed-action settings, required code-owner reviews, and deployment environments remain administrator follow-ups.

Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
@Fannon
Fannon requested a review from pavelkornev November 23, 2026 13:16
@Fannon Fannon self-assigned this Nov 23, 2026
@Fannon Fannon changed the title ci: scope workflow permissions and refresh action pins ci: harden Actions and use Node 26 Nov 23, 2026
@Fannon
Fannon marked this pull request as ready for review November 23, 2026 13:16
@Fannon
Fannon requested a review from aramovic79 November 23, 2026 13:18
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
Signed-off-by: Simon Heimler <simon.heimler@sap.com>
@Fannon Fannon added the security Security hardening and related dependency and CI/CD changes label Nov 28, 2026

@zongqichen zongqichen 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.

LGTM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security hardening and related dependency and CI/CD changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants