Skip to content

Commit ce48622

Browse files
Merge branch 'master' into release/v0.8.5
2 parents 3821113 + 8a74ad3 commit ce48622

File tree

6 files changed

+54
-11
lines changed

6 files changed

+54
-11
lines changed

.github/workflows/check_version.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v2
9-
with:
10-
fetch-depth: 3
119
- name: Check package version
1210
uses: technote-space/package-version-check-action@v1
1311
with:

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ jobs:
1212
eslint:
1313
name: ESLint
1414
runs-on: ubuntu-latest
15+
env:
16+
LINT: 1
1517
steps:
1618
- uses: actions/checkout@v2
17-
with:
18-
fetch-depth: 3
19+
- uses: technote-space/get-git-comment-action@v1
1920
- uses: technote-space/get-diff-action@v1
2021
with:
2122
PREFIX_FILTER: |
2223
src/
2324
__tests__/
2425
SUFFIX_FILTER: .ts
2526
FILES: .eslintrc
27+
if: "! contains(env.COMMIT_MESSAGE, '[skip ci]') && ! contains(env.COMMIT_MESSAGE, '[ci skip]')"
2628
- name: Get Yarn Cache Directory
2729
id: yarn-cache
2830
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -58,8 +60,7 @@ jobs:
5860
node: ['10', '11', '12']
5961
steps:
6062
- uses: actions/checkout@v2
61-
with:
62-
fetch-depth: 3
63+
- uses: technote-space/get-git-comment-action@v1
6364
- uses: technote-space/get-diff-action@v1
6465
with:
6566
PREFIX_FILTER: |
@@ -71,6 +72,7 @@ jobs:
7172
FILES: |
7273
yarn.lock
7374
jest.config.js
75+
if: "! contains(env.COMMIT_MESSAGE, '[skip ci]') && ! contains(env.COMMIT_MESSAGE, '[ci skip]')"
7476
- name: Setup node
7577
uses: actions/setup-node@v1
7678
with:

.github/workflows/pr_updated.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,45 @@ jobs:
99
uses: actions/labeler@v2
1010
with:
1111
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
13+
assignToProject:
14+
name: Assign PullRequest to Project
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: technote-space/get-git-comment-action@v1
19+
- name: Assign PullRequest to Project
20+
if: contains(env.COMMIT_MESSAGE, 'trigger workflow')
21+
uses: technote-space/create-project-card-action@v1
22+
with:
23+
PROJECT: Backlog
24+
COLUMN: To do
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
IGNORE_CONTEXT_CHECK: true
27+
28+
assignAuthor:
29+
name: Assign author to PR
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: technote-space/get-git-comment-action@v1
34+
- name: Assign Author to PR
35+
if: contains(env.COMMIT_MESSAGE, 'trigger workflow')
36+
uses: technote-space/assign-author@v1
37+
with:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
IGNORE_CONTEXT_CHECK: true
40+
41+
addLabelsByBranch:
42+
name: PR Labeler
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v2
46+
- uses: technote-space/get-git-comment-action@v1
47+
- name: PR Labeler
48+
if: contains(env.COMMIT_MESSAGE, 'trigger workflow')
49+
uses: technote-space/pr-labeler-action@v3
50+
with:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
IGNORE_CONTEXT_CHECK: true
53+

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v2
15-
with:
16-
fetch-depth: 3
1715
- name: Get Yarn Cache Directory
1816
id: yarn-cache
1917
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -46,8 +44,6 @@ jobs:
4644
steps:
4745
- name: Checkout
4846
uses: actions/checkout@v2
49-
with:
50-
fetch-depth: 3
5147
- name: Setup Node.js
5248
uses: actions/setup-node@v1
5349
with:

.github/workflows/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ jobs:
1313
uses: technote-space/toc-generator@v2
1414
with:
1515
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
16+
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1617
TARGET_BRANCH_PREFIX: release/
18+
FOLDING: true
19+
MAX_HEADER_LEVEL: 3
20+
TOC_TITLE: Details

.github/workflows/update-dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
schedule:
33
- cron: 0 9 * * 2,5
44
pull_request:
5-
types: [opened, synchronize, reopened, closed]
5+
types: [opened, reopened, closed]
66
repository_dispatch:
77
types: [update-deps]
88

@@ -16,6 +16,7 @@ jobs:
1616
uses: technote-space/create-pr-action@v1
1717
with:
1818
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19+
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1920
EXECUTE_COMMANDS: |
2021
npx npm-check-updates -u --packageFile package.json
2122
yarn install

0 commit comments

Comments
 (0)