Skip to content

Commit c609f35

Browse files
Merge branch 'master' into release/next-v2.0.4
2 parents 97fb7d8 + f434600 commit c609f35

File tree

10 files changed

+31
-4
lines changed

10 files changed

+31
-4
lines changed

.github/workflows/add-release-tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
pull_request:
33
branches:
44
- master
5+
- develop/v*
56
types: [closed]
67

78
name: Add release tag
@@ -10,6 +11,7 @@ jobs:
1011
tag:
1112
name: Add release tag
1213
runs-on: ubuntu-latest
14+
timeout-minutes: 3
1315
if: github.event.pull_request.merged == true && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')
1416
steps:
1517
- uses: technote-space/load-config-action@v1

.github/workflows/broken-link-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
schedule:
3-
- cron: 0 0 6 * *
3+
- cron: 44 20 9 * *
44
repository_dispatch:
55
types: [check-link]
66

@@ -9,6 +9,7 @@ jobs:
99
check:
1010
name: Broken Link Check
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 10
1213
steps:
1314
- uses: technote-space/auto-cancel-redundant-job@v1
1415
with:

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
eslint:
77
name: ESLint
88
runs-on: ubuntu-latest
9+
timeout-minutes: 5
910
env:
1011
LINT: 1
1112
steps:
@@ -56,6 +57,7 @@ jobs:
5657
name: Coverage
5758
needs: eslint
5859
runs-on: ubuntu-latest
60+
timeout-minutes: 5
5961
strategy:
6062
matrix:
6163
node: ['11', '12']
@@ -129,6 +131,7 @@ jobs:
129131
name: Publish Package
130132
needs: cover
131133
runs-on: ubuntu-latest
134+
timeout-minutes: 5
132135
if: startsWith(github.ref, 'refs/tags/v')
133136
strategy:
134137
matrix:
@@ -212,6 +215,7 @@ jobs:
212215
name: Create Release
213216
needs: [package]
214217
runs-on: ubuntu-latest
218+
timeout-minutes: 5
215219
steps:
216220
- name: Get version
217221
run: echo "::set-env name=TAG_NAME::${HEAD_REF#refs/tags/}"
@@ -238,6 +242,7 @@ jobs:
238242
name: Slack
239243
needs: publishRelease
240244
runs-on: ubuntu-latest
245+
timeout-minutes: 3
241246
if: always()
242247
steps:
243248
- uses: technote-space/workflow-conclusion-action@v1

.github/workflows/issue-opened.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
assign:
99
name: Assign issues to project
1010
runs-on: ubuntu-latest
11+
timeout-minutes: 3
1112
steps:
1213
- uses: technote-space/load-config-action@v1
1314
with:
@@ -20,5 +21,6 @@ jobs:
2021
assignAuthor:
2122
name: Assign author to issue
2223
runs-on: ubuntu-latest
24+
timeout-minutes: 3
2325
steps:
2426
- uses: technote-space/assign-author@v1

.github/workflows/pr-opened.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
1010
name: Assign PullRequest to Project
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 3
1213
steps:
1314
- uses: technote-space/load-config-action@v1
1415
with:
@@ -22,11 +23,13 @@ jobs:
2223
assignAuthor:
2324
name: Assign author to PR
2425
runs-on: ubuntu-latest
26+
timeout-minutes: 3
2527
steps:
2628
- uses: technote-space/assign-author@v1
2729

2830
addLabelsByBranch:
2931
name: PR Labeler
3032
runs-on: ubuntu-latest
33+
timeout-minutes: 3
3134
steps:
3235
- uses: technote-space/pr-labeler-action@v4

.github/workflows/pr-updated.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
triage:
77
name: Pull Request Labeler
88
runs-on: ubuntu-latest
9+
timeout-minutes: 3
910
if: "! startsWith(github.head_ref, 'release/')"
1011
steps:
1112
- uses: actions/labeler@v2
@@ -15,6 +16,7 @@ jobs:
1516
history:
1617
name: Pull Request Body
1718
runs-on: ubuntu-latest
19+
timeout-minutes: 3
1820
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
1921
steps:
2022
- uses: technote-space/load-config-action@v1
@@ -30,6 +32,7 @@ jobs:
3032
manageRelease:
3133
name: Manage release
3234
runs-on: ubuntu-latest
35+
timeout-minutes: 3
3336
if: "github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/') && ! startsWith(github.head_ref, 'release/v')"
3437
steps:
3538
- uses: technote-space/load-config-action@v1
@@ -43,7 +46,8 @@ jobs:
4346
checkVersion:
4447
name: Check package version
4548
runs-on: ubuntu-latest
46-
if: "github.event.action == 'synchronize' && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/') && ! startsWith(github.head_ref, 'release/v')"
49+
timeout-minutes: 3
50+
if: "github.event.action == 'synchronize' && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')"
4751
steps:
4852
- uses: technote-space/load-config-action@v1
4953
with:
@@ -61,7 +65,12 @@ jobs:
6165
uses: technote-space/get-next-version-action@v1
6266
with:
6367
EXCLUDE_MESSAGES: ${{ env.EXCLUDE_MESSAGES }}
64-
if: env.RUNNING
68+
if: "env.RUNNING && ! startsWith(github.head_ref, 'release/v')"
69+
- name: Get version
70+
run: echo "::set-env name=NEXT_VERSION::${HEAD_REF#release/}"
71+
env:
72+
HEAD_REF: ${{ github.head_ref }}
73+
if: env.RUNNING && startsWith(github.head_ref, 'release/v')
6574
- name: Check package version
6675
uses: technote-space/package-version-check-action@v1
6776
with:
@@ -73,6 +82,7 @@ jobs:
7382
checkPublish:
7483
name: Check publish
7584
runs-on: ubuntu-latest
85+
timeout-minutes: 3
7686
if: "github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')"
7787
steps:
7888
- name: Set running flag

.github/workflows/project-card-moved.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ jobs:
88
triage:
99
name: Auto card labeler
1010
runs-on: ubuntu-latest
11+
timeout-minutes: 3
1112
steps:
1213
- uses: technote-space/auto-card-labeler@v1

.github/workflows/sync-workflows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ jobs:
99
release:
1010
name: Sync workflows
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 5
1213
steps:
1314
- name: Sync workflows
14-
uses: technote-space/create-pr-action@v1
15+
uses: technote-space/create-pr-action@v2
1516
with:
1617
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1718
EXECUTE_COMMANDS: |

.github/workflows/toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
1010
name: TOC Generator
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 3
1213
steps:
1314
- uses: technote-space/load-config-action@v1
1415
with:

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
update:
1212
name: Update npm dependencies
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 10
1415
steps:
1516
- uses: technote-space/load-config-action@v1
1617
with:

0 commit comments

Comments
 (0)