Skip to content

Commit 6a5b9e3

Browse files
authored
Prep v3.2.0 (#147)
* ⬆️ Upgrade dependencies * 🔒️ Add CodeQL configuration and workflow * 🎨 Update Prettier configuration * 🎨 Update ESLint configuration * 🎨 Update Husky configuration Add lint-staged * 📝 Update README and ActionPolicy.js - Revised the README to enhance the formatting of action inputs for better readability. - Streamlined the initialization of MyOctokit in ActionPolicy.js by consolidating request options. - Removed unnecessary line breaks and comments in ActionPolicy.js for cleaner code. - Simplified API request calls in ActionPolicy.js to improve code conciseness. * ⬆️ Update action versions in workflows * 🗑️ Remove CodeQL workflow configuration We rely on the GitHub default CodeQL setup
1 parent c1a66f9 commit 6a5b9e3

20 files changed

+1657
-4869
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/codeql/codeql-config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 'CodeQL config'
2+
3+
queries:
4+
- uses: security-extended
5+
6+
paths:
7+
- src
8+
paths-ignore:
9+
- 'dist/**/*'
10+
- '**/*.test.js'

.github/husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/husky/pre-commit

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040

4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4444

4545
- name: Check repository dependency graph
46-
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
46+
uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3
4747
if: ${{ github.event_name == 'pull_request' }}
4848

4949
- name: Setup Node.js v${{ matrix.node-version }}
50-
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
50+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353
cache: 'npm'

.husky/pre-commit

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
[ -n "$CI" ] && exit 0
4+
5+
npx lint-staged --verbose --allow-empty
6+
echo ""

.github/husky/pre-push renamed to .husky/pre-push

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
[ -n "$CI" ] && exit 0
44

5-
. "$(dirname "$0")/_/husky.sh"
6-
75
if [[ $(git status --porcelain -s) != "" ]]; then
86
echo "\n😵 Uncommitted changes found 😵"
97
echo "Please \`git add\` and \`git commit\` or \`git stash -u\` them before pushing!\n"

.prettierignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
build/
2+
cache/
3+
coverage/
14
dist/
2-
3-
package-lock.json
5+
node_modules/

.prettierrc.cjs

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)