Skip to content

Conversation

@dkoerichbird
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Jul 10, 2025

Deploy Preview for support-docs ready!

Name Link
🔨 Latest commit 5b1a065
🔍 Latest deploy log https://app.netlify.com/projects/support-docs/deploys/686fc71886b84d000813d7bf
😎 Deploy Preview https://deploy-preview-799--support-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dkoerichbird dkoerichbird changed the title TASK-10510: Bump of NodeJS version to 22.x TASK-10510: Bump of NodeJS version Jul 10, 2025
@dkoerichbird dkoerichbird changed the title TASK-10510: Bump of NodeJS version TASK-10510: Fix deploy by netlify plugin Jul 10, 2025
@dkoerichbird dkoerichbird marked this pull request as ready for review July 10, 2025 13:51
@dkoerichbird dkoerichbird marked this pull request as draft July 10, 2025 13:54
@dkoerichbird dkoerichbird marked this pull request as ready for review July 10, 2025 13:55
@dkoerichbird dkoerichbird marked this pull request as draft July 10, 2025 13:58
@dkoerichbird dkoerichbird marked this pull request as ready for review July 10, 2025 13:59
Copy link

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 PR standardizes the Node.js version across the project, bumps the package version, and removes a hardcoded API key from the docs.

  • Bump package version to 0.2.0 and relax Node engine requirement to ^16
  • Update Node version references in README and GitHub Actions
  • Redact the hardcoded auth_key in the push HTTP request example

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
package.json Bumped version and updated "engines.node" to ^16
content/momentum/3/3-push/push-http-request-eval.md Replaced hardcoded auth_key with "REDACTED"
README.md Changed documented Node version from 16.12.0 to 16.x
.github/workflows/index.yml Updated actions/setup-node to use Node 16.x
Comments suppressed due to low confidence (1)

README.md:156

  • Add a space after the list hyphen for proper markdown syntax (e.g. - 16.x) to match the project’s formatting style.
16.x

local request = "{ \"registration_ids\": [ \"" .. reg_id .. "\" ], \"dry_run\": true, »
\"data\": { \"message\": \"Push message to send over GCM\" } }"
local auth_key = "AIzaSyA09R1jflwVV4T79OIuLtTxQyXKFlOVQfs"
local auth_key = "REDACTED"
Copy link

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

Avoid hardcoding sensitive keys in examples; consider loading auth_key from an environment variable and documenting that approach to keep secrets out of source files.

Suggested change
local auth_key = "REDACTED"
local auth_key = os.getenv("AUTH_KEY")
if not auth_key then
error("Environment variable AUTH_KEY is not set. Please set it to your authorization key.")
end

Copilot uses AI. Check for mistakes.
@dkoerichbird dkoerichbird merged commit 2e2593f into main Jul 10, 2025
6 of 8 checks passed
@dkoerichbird dkoerichbird deleted the feature/TASK-10510 branch July 10, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants