File tree Expand file tree Collapse file tree 5 files changed +325
-320
lines changed Expand file tree Collapse file tree 5 files changed +325
-320
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ name: "Dev"
33on :
44 workflow_dispatch :
55 push :
6- branches-ignore : [" master" ]
6+ branches-ignore : [master]
77 paths :
88 - " .github/workflows/dev.yaml"
99 - " .vitepress/**"
1010 - " docs/**"
1111 - " package*.json"
1212
1313concurrency :
14- group : dev
14+ group : ${{ github.workflow }}-${{ github.ref }}
1515 cancel-in-progress : true
1616
1717jobs :
Original file line number Diff line number Diff line change 77 push :
88 branches : [master]
99
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
1014jobs :
1115 lint :
1216 name : " Lint"
17+ if : ${{ !contains(github.event.head_commit.message, '#nolint') }}
1318 runs-on : ubuntu-latest
1419 timeout-minutes : 5
15- if : ${{ !contains(github.event.head_commit.message, '#nolint') }}
1620
1721 steps :
1822 - name : " Checkout"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: "Pages"
33on :
44 workflow_dispatch :
55 push :
6- branches : [" master" ]
6+ branches : [master]
77 paths :
88 - " .github/workflows/pages.yaml"
99 - " .vitepress/**"
1515 purge-domain : " "
1616
1717concurrency :
18- group : pages
19- cancel-in-progress : false
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
2020
2121jobs :
2222 build :
2323 name : " Build"
24- if : ${{ !contains(github.event.head_commit.message, '#nodeploy') }}
24+ if : ${{ !contains(github.event.head_commit.message, '#nodeploy') || github.actor != 'dependabot[bot]' }}
25+
2526 uses : cssnr/workflows/.github/workflows/npm-build.yaml@master
2627 permissions :
2728 contents : read
7980 crawler_user_id : ${{ secrets.CRAWLER_USER_ID }}
8081 crawler_api_key : ${{ secrets.CRAWLER_API_KEY }}
8182
82- - name : " Send Post-Deploy Notification"
83+ - name : " Send Discord Notification"
8384 if : ${{ failure() }}
8485 uses : sarisia/actions-status-discord@v1
8586 with :
You can’t perform that action at this time.
0 commit comments