From eaac930c67006f3a177ccaf02561cdf8c037f863 Mon Sep 17 00:00:00 2001 From: Vidya Reddy <59590642+Vidya2606@users.noreply.github.com> Date: Fri, 7 Feb 2025 12:00:17 -0800 Subject: [PATCH] Security: remove updated action and fix prettier (#134) --- .github/workflows/prettify-code.yml | 13 ++++++++++--- CHANGELOG.md | 2 +- CODE_OF_CONDUCT.md | 6 +++--- SECURITY.md | 14 +++++++------- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/workflows/prettify-code.yml b/.github/workflows/prettify-code.yml index 0da236c7..44630903 100644 --- a/.github/workflows/prettify-code.yml +++ b/.github/workflows/prettify-code.yml @@ -12,7 +12,14 @@ jobs: - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Enforce Prettier - uses: actionsx/prettier@3d9f7c3fa44c9cb819e68292a328d7f4384be206 #v3.0.0 + - name: Setup Node.js + uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 with: - args: --check . + node-version: 'lts/*' + cache: 'npm' + + - name: Install Dependencies + run: npm ci + + - name: Run Prettier Check + run: npx prettier --check . diff --git a/CHANGELOG.md b/CHANGELOG.md index b2cc94ee..1f9b9290 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,4 +4,4 @@ ### Changed -- #90 Migrate to node 20 as node 16 is deprecated +- #90 Migrate to node 20 as node 16 is deprecated diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index d7321aa5..f9ba8cf6 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -4,6 +4,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope Resources: -- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) -- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) -- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns +- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) +- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns diff --git a/SECURITY.md b/SECURITY.md index 5707dd91..9e533fb2 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -14,13 +14,13 @@ You should receive a response within 24 hours. If for some reason you do not, pl Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: -- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) -- Full paths of source file(s) related to the manifestation of the issue -- The location of the affected source code (tag/branch/commit or direct URL) -- Any special configuration required to reproduce the issue -- Step-by-step instructions to reproduce the issue -- Proof-of-concept or exploit code (if possible) -- Impact of the issue, including how an attacker might exploit the issue +- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) +- Full paths of source file(s) related to the manifestation of the issue +- The location of the affected source code (tag/branch/commit or direct URL) +- Any special configuration required to reproduce the issue +- Step-by-step instructions to reproduce the issue +- Proof-of-concept or exploit code (if possible) +- Impact of the issue, including how an attacker might exploit the issue This information will help us triage your report more quickly.