Skip to content

Commit 1a3c6cc

Browse files
authored
Merge branch 'doocs:main' into main
2 parents 4266245 + 94405ad commit 1a3c6cc

File tree

432 files changed

+42907
-31949
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

432 files changed

+42907
-31949
lines changed

.github/workflows/pr-labeled.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: PR Labeled
2+
3+
on:
4+
pull_request_target:
5+
types: [labeled]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
issue-labeled:
12+
permissions:
13+
pull-requests: write # for actions-cool/issues-helper to update PRs
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: supplement
17+
if: github.event.label.name == 'supplement'
18+
uses: actions-cool/issues-helper@v3
19+
with:
20+
actions: "create-comment"
21+
token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
22+
issue-number: ${{ github.event.pull_request.number }}
23+
body: |
24+
@${{ github.event.pull_request.user.login }}, Please add the missing README_EN.md / README.md, please refer to the details for https://github.com/doocs/leetcode/pull/2590/files
25+
26+
@${{ github.event.pull_request.user.login }}, 请补充缺少的 README_EN.md / README.md, 详情参考 https://github.com/doocs/leetcode/pull/2590/files

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx lint-staged
4+
npx lint-staged --allow-empty $1

0 commit comments

Comments
 (0)