Updated Hashnode OAuth and .yml syntax

Updated Hashnode OAuth and .yml syntax

Overview

  • In .github/workflows/commit-blog-generator.yml, GITHUB_ACCESS_TOKEN in env section was updated.
  • In js/math/utils.js, there was a minor change in getNearestPoint function.

File wise changes made

.github/workflows/commit-blog-generator.yml

  • GITHUB_ACCESS_TOKEN replaced with ${{ secrets.GITHUB_TOKEN }}

js/math/utils.js

  • y: lerp(A.y, B.y, t); replaced with y: lerp(A.y, B.y, t),

Summary

  • In .github/workflows/commit-blog-generator.yml, the secret GITHUB_ACCESS_TOKEN is now set using secrets.GITHUB_TOKEN instead of secrets.GITHUB_TOKEN.
  • In js/math/utils.js, there was a change in the getNearestPoint function.
    • In the calculation of y, a comma was added at the end of the line y: lerp(A.y, B.y, t).