Skip to content

Commit 2b93861

Browse files
committed
feat: update CI
1 parent 6d0a412 commit 2b93861

File tree

7 files changed

+77
-314
lines changed

7 files changed

+77
-314
lines changed

.github/workflows/feature.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "CI / Feature"
2+
3+
on:
4+
push:
5+
branches:
6+
- feature*
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
use-library-js-feature:
15+
permissions:
16+
contents: read
17+
actions: write
18+
checks: write
19+
uses: MatrixAI/.github/.github/workflows/library-js-feature.yml@master

.github/workflows/merge.yml

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

.github/workflows/release.yml

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

.github/workflows/staging.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "CI / Staging"
2+
3+
on:
4+
push:
5+
branches:
6+
- staging
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
use-library-js-staging:
15+
permissions:
16+
contents: write
17+
actions: write
18+
checks: write
19+
pull-requests: write
20+
uses: MatrixAI/.github/.github/workflows/library-js-staging.yml@master
21+
secrets:
22+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
23+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
24+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
25+
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
26+
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
27+

.github/workflows/tag.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "CI / Tag"
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
use-library-js-tag:
11+
permissions:
12+
contents: read
13+
actions: write
14+
uses: MatrixAI/.github/.github/workflows/library-js-tag.yml@master

0 commit comments

Comments
 (0)