Skip to content

Commit 3470d88

Browse files
authored
Update Dependencies and Workflows (#7)
1 parent 070d54c commit 3470d88

File tree

5 files changed

+325
-320
lines changed

5 files changed

+325
-320
lines changed

.github/workflows/dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: "Dev"
33
on:
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

1313
concurrency:
14-
group: dev
14+
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

1717
jobs:

.github/workflows/lint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
push:
88
branches: [master]
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
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"

.github/workflows/pages.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Pages"
33
on:
44
workflow_dispatch:
55
push:
6-
branches: ["master"]
6+
branches: [master]
77
paths:
88
- ".github/workflows/pages.yaml"
99
- ".vitepress/**"
@@ -15,13 +15,14 @@ env:
1515
purge-domain: ""
1616

1717
concurrency:
18-
group: pages
19-
cancel-in-progress: false
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
2020

2121
jobs:
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
@@ -79,7 +80,7 @@ jobs:
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:

0 commit comments

Comments
 (0)