Skip to content

Commit a04cf95

Browse files
committed
update workflow
1 parent 764979c commit a04cf95

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.github/workflows/fmt.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name: gofmt
55
# Controls when the workflow will run
66
on:
77
pull_request:
8-
types: [ opened, reopened ]
8+
paths:
9+
- tencentcloud/**
910

1011
# Allows you to run this workflow manually from the Actions tab
1112
workflow_dispatch:

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name: golangci-lint
55
# Controls when the workflow will run
66
on:
77
pull_request:
8-
types: [ opened, reopened ]
8+
paths:
9+
- tencentcloud/**
910

1011
# Allows you to run this workflow manually from the Actions tab
1112
workflow_dispatch:

.github/workflows/mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name: docs
55
# Controls when the workflow will run
66
on:
77
pull_request:
8-
types: [ opened, reopened ]
8+
paths:
9+
- tencentcloud/**
910

1011
# Allows you to run this workflow manually from the Actions tab
1112
workflow_dispatch:

.github/workflows/tfprovider-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name: tfprovider-lint
55
# Controls when the workflow will run
66
on:
77
pull_request:
8-
types: [ opened, reopened ]
8+
paths:
9+
- tencentcloud/**
910

1011
# Allows you to run this workflow manually from the Actions tab
1112
workflow_dispatch:

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ name: unit-tests
55
# Controls when the workflow will run
66
on:
77
pull_request:
8-
types: [ opened, reopened ]
8+
paths:
9+
- tencentcloud/**
910

1011
# Allows you to run this workflow manually from the Actions tab
1112
workflow_dispatch:

0 commit comments

Comments
 (0)