File tree 5 files changed +71
-5
lines changed
5 files changed +71
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Basic dependabot.yml file with
2
+ # https://docs.github.com/en/github/administering-a-repository/enabling-and-disabling-version-updates#example-dependabotyml-file
3
+
4
+ version : 2
5
+ updates :
6
+ - package-ecosystem : " github-actions"
7
+ directory : " /"
8
+ schedule :
9
+ interval : " monthly"
10
+ timezone : " Asia/Hong_Kong"
11
+ target-branch : " develop"
12
+ commit-message :
13
+ prefix : " ci"
14
+ rebase-strategy : " auto"
Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - develop
8
+ tags-ignore :
9
+ - ' **' # prevent double build on release tag
10
+ pull_request :
11
+ branches :
12
+ - ' **'
13
+ schedule :
14
+ - cron : " 14 14 * * 0"
15
+
16
+ jobs :
17
+ analyze :
18
+ name : Analyze
19
+ runs-on : ubuntu-latest
20
+ permissions :
21
+ actions : read
22
+ contents : read
23
+ security-events : write
24
+
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ language : [python]
29
+
30
+ steps :
31
+ - name : Checkout
32
+ uses : actions/checkout@v4
33
+
34
+ - name : Initialize CodeQL
35
+ uses : github/codeql-action/init@v2
36
+ with :
37
+ languages : ${{ matrix.language }}
38
+ queries : +security-and-quality
39
+
40
+ - name : Autobuild
41
+ uses : github/codeql-action/autobuild@v2
42
+
43
+ - name : Perform CodeQL Analysis
44
+ uses : github/codeql-action/analyze@v2
45
+ with :
46
+ category : " /language:${{ matrix.language }}"
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout repo
12
- uses : actions/checkout@main
12
+ uses : actions/checkout@v4
13
13
- name : Setup Node.js version
14
- uses : actions/setup-node@main
14
+ uses : actions/setup-node@v3
15
15
with :
16
- node-version : 14.x
16
+ node-version-file : ' .nvmrc '
17
17
- name : Generate release body
18
18
run : |
19
19
npx rexreplace "(#+ \[\d+\.\d+\.\d+].*?)#+ \[?\d+\.\d+\.\d+]?" "_" -s -M -G -m -o "CHANGELOG.md" > RELEASE_BODY.md
Original file line number Diff line number Diff line change 1
1
# Leetcode Daily Question Telegram Bot
2
2
3
+ > ** Warning**
4
+ > End of Maintenance Notice (2023-10-29):
5
+ > Visit [ https://t.me/LeetcodeQustionOfToday/720 ] ( https://t.me/LeetcodeQustionOfToday/720 ) for more information.
6
+
3
7
Fetch question of today from Leetcode's GraphQL API and send it to Telegram channel.
4
8
5
9
![ Mockup] ( ./docs/mockup.png )
@@ -31,14 +35,14 @@ Fetch question of today from Leetcode's GraphQL API and send it to Telegram chan
31
35
##### NPM
32
36
33
37
``` bash
34
- npm install serverless@2.63.0 --global
38
+ npm install serverless@3 --global
35
39
npm install
36
40
```
37
41
38
42
##### Yarn
39
43
40
44
``` bash
41
- yarn global add serverless@2.63.0
45
+ yarn global add serverless@3
42
46
yarn
43
47
```
44
48
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ package:
27
27
- ' !.github/**'
28
28
- ' !.editorconfig'
29
29
- ' !.nvmrc'
30
+ - ' !*.md'
31
+ - ' !Makefile'
30
32
31
33
# Handling python packages: https://www.serverless.com/blog/serverless-python-packaging
32
34
plugins :
You can’t perform that action at this time.
0 commit comments