Skip to content

Conversation

@data-douser
Copy link
Collaborator

@data-douser data-douser commented Dec 30, 2025

Summary of Changes

This pull request updates several GitHub Actions workflow files to enhance security and modernize dependencies. The main changes include adding explicit permissions settings for workflows and upgrading various GitHub Actions to their latest major versions. Additionally, the Node.js version used for CDS compilation is updated.

Security and permissions improvements:

  • Added permissions: contents: read to all workflows to explicitly specify the minimum required permissions, improving security. [1] [2] [3] [4]

Dependency and environment updates:

  • Upgraded actions/checkout from v5 to v6 in all relevant workflows for improved performance and support. [1] [2] [3] [4] [5]
  • Upgraded actions/upload-artifact from v5 to v6 and actions/download-artifact from v6 to v7 to ensure compatibility with the latest features and bug fixes. [1] [2]
  • Updated Node.js version from 18 to 20 in the CDS compilation step for better support and security.

@data-douser data-douser self-assigned this Dec 30, 2025
@data-douser data-douser added enhancement New feature or request dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 30, 2025
@data-douser data-douser marked this pull request as ready for review December 30, 2025 17:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates GitHub Actions workflow files to enhance security posture through explicit least-privilege permissions and attempts to modernize action dependencies. The key changes include adding permissions: contents: read to workflows lacking explicit permissions and upgrading several GitHub Actions to newer major versions (checkout@v6, upload-artifact@v6, download-artifact@v7). Additionally, the Node.js version for CDS compilation is updated from 18 to 20.

Key Changes

  • Added explicit permissions: contents: read to workflows to enforce least-privilege access
  • Upgraded actions/checkout from v5 to v6 across multiple workflows
  • Upgraded actions/upload-artifact from v5 to v6 and actions/download-artifact from v6 to v7
  • Updated Node.js version from 18 to 20 for CDS compilation step

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/update-codeql.yml Upgraded actions/checkout to v6
.github/workflows/run-codeql-unit-tests-javascript.yml Added permissions block, upgraded actions/checkout to v6 in multiple jobs, updated Node.js to v20, upgraded upload-artifact to v6 and download-artifact to v7
.github/workflows/codeql-ql.yml Added permissions block with contents: read
.github/workflows/code_scanning.yml Added permissions block with contents: read, cleaned up trailing whitespace
.github/workflows/cds-extractor-dist-bundle.yml Added permissions block, upgraded actions/checkout to v6, fixed indentation and formatting throughout the file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@mbaluda mbaluda left a comment

Choose a reason for hiding this comment

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

LGTM!

@data-douser data-douser merged commit 192a203 into main Dec 31, 2025
11 checks passed
@data-douser data-douser deleted the data-douser/cds-extractor-windows-os branch December 31, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants