Skip to content

Commit eaac930

Browse files
authored
Security: remove updated action and fix prettier (#134)
1 parent 8e9b27e commit eaac930

File tree

4 files changed

+21
-14
lines changed

4 files changed

+21
-14
lines changed

.github/workflows/prettify-code.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ jobs:
1212
- name: Checkout Repository
1313
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414

15-
- name: Enforce Prettier
16-
uses: actionsx/prettier@3d9f7c3fa44c9cb819e68292a328d7f4384be206 #v3.0.0
15+
- name: Setup Node.js
16+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
1717
with:
18-
args: --check .
18+
node-version: 'lts/*'
19+
cache: 'npm'
20+
21+
- name: Install Dependencies
22+
run: npm ci
23+
24+
- name: Run Prettier Check
25+
run: npx prettier --check .

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
### Changed
66

7-
- #90 Migrate to node 20 as node 16 is deprecated
7+
- #90 Migrate to node 20 as node 16 is deprecated

CODE_OF_CONDUCT.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
44

55
Resources:
66

7-
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8-
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9-
- Contact [[email protected]](mailto:[email protected]) with questions or concerns
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [[email protected]](mailto:[email protected]) with questions or concerns

SECURITY.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ You should receive a response within 24 hours. If for some reason you do not, pl
1414

1515
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:
1616

17-
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
18-
- Full paths of source file(s) related to the manifestation of the issue
19-
- The location of the affected source code (tag/branch/commit or direct URL)
20-
- Any special configuration required to reproduce the issue
21-
- Step-by-step instructions to reproduce the issue
22-
- Proof-of-concept or exploit code (if possible)
23-
- Impact of the issue, including how an attacker might exploit the issue
17+
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
18+
- Full paths of source file(s) related to the manifestation of the issue
19+
- The location of the affected source code (tag/branch/commit or direct URL)
20+
- Any special configuration required to reproduce the issue
21+
- Step-by-step instructions to reproduce the issue
22+
- Proof-of-concept or exploit code (if possible)
23+
- Impact of the issue, including how an attacker might exploit the issue
2424

2525
This information will help us triage your report more quickly.
2626

0 commit comments

Comments
 (0)