Skip to content

Commit 45dce9b

Browse files
authored
fix(ci): comment skip code for required workflows (#2312)
1 parent 9284dc7 commit 45dce9b

13 files changed

+165
-137
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@ on:
33
push:
44
branches:
55
- development
6-
paths:
7-
- .github/workflows/build.yml
8-
- "**/*.go"
9-
- "chain/**"
10-
- "cmd/**"
11-
- "dot/**"
12-
- "internal/**"
13-
- "lib/**"
14-
- "pkg/**"
15-
- "tests/**"
16-
- .dockerignore
17-
- .codecov.yml
18-
- Dockerfile
19-
- go.mod
20-
- go.sum
21-
- Makefile
6+
# Commented paths to avoid skipping required workflow
7+
# See https://github.community/t/feature-request-conditional-required-checks/16761
8+
# paths:
9+
# - .github/workflows/build.yml
10+
# - "**/*.go"
11+
# - "chain/**"
12+
# - "cmd/**"
13+
# - "dot/**"
14+
# - "internal/**"
15+
# - "lib/**"
16+
# - "pkg/**"
17+
# - "tests/**"
18+
# - .dockerignore
19+
# - .codecov.yml
20+
# - Dockerfile
21+
# - go.mod
22+
# - go.sum
23+
# - Makefile
2224

2325
jobs:
2426
builds:

.github/workflows/checks.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/checks.yml
5-
- .github/PULL_REQUEST/pull_request.go
6-
- .golangci.yml
7-
- "**/*.go"
8-
- go.mod
9-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/checks.yml
7+
# - .github/PULL_REQUEST/pull_request.go
8+
# - .golangci.yml
9+
# - "**/*.go"
10+
# - go.mod
11+
# - go.sum
1012

1113
name: checks
1214
env:
@@ -27,7 +29,9 @@ jobs:
2729

2830
check-description:
2931
name: Checks PR has title and body description
30-
if: ${{ github.actor != 'dependabot[bot]' }}
32+
# Commented to avoid skipping required workflow
33+
# See https://github.community/t/feature-request-conditional-required-checks/16761
34+
# if: ${{ github.actor != 'dependabot[bot]' }}
3135
runs-on: ubuntu-latest
3236
steps:
3337
- uses: actions/setup-go@v2

.github/workflows/code-cov.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/code-cov.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- "tests/**"
13-
- .codecov.yml
14-
- go.mod
15-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/code-cov.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - "tests/**"
15+
# - .codecov.yml
16+
# - go.mod
17+
# - go.sum
1618
name: code-cov
1719
env:
1820
GO111MODULE: on

.github/workflows/copyright.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ on:
33
pull_request:
44
branches:
55
- development
6-
paths:
7-
- .github/workflows/copyright.yml
8-
- "**/*.go"
9-
- "**/*.proto"
6+
# Commented paths to avoid skipping required workflow
7+
# See https://github.community/t/feature-request-conditional-required-checks/16761
8+
# paths:
9+
# - .github/workflows/copyright.yml
10+
# - "**/*.go"
11+
# - "**/*.proto"
1012

1113
jobs:
1214
copyright-check:

.github/workflows/docker-grandpa.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/docker-grandpa.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- "tests/stress/**"
13-
- go.mod
14-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/docker-grandpa.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - "tests/stress/**"
15+
# - go.mod
16+
# - go.sum
1517
name: docker-grandpa
1618
env:
1719
GO111MODULE: on

.github/workflows/docker-js.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/docker-js.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- "tests/polkadotjs_test/**"
13-
- go.mod
14-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/docker-js.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - "tests/polkadotjs_test/**"
15+
# - go.mod
16+
# - go.sum
1517
name: docker-js
1618
env:
1719
GO111MODULE: on

.github/workflows/docker-rpc.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/docker-rpc.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- "tests/rpc/**"
13-
- go.mod
14-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/docker-rpc.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - "tests/rpc/**"
15+
# - go.mod
16+
# - go.sum
1517
name: docker-rpc
1618
env:
1719
GO111MODULE: on

.github/workflows/docker-stable.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/docker-stable.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- scripts/integration-test-all.sh
13-
- go.mod
14-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/docker-stable.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - scripts/integration-test-all.sh
15+
# - go.mod
16+
# - go.sum
1517
name: docker-stable
1618
env:
1719
GO111MODULE: on

.github/workflows/docker-stress.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/docker-stress.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- "tests/stress/**"
13-
- go.mod
14-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/docker-stress.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - "tests/stress/**"
15+
# - go.mod
16+
# - go.sum
1517
name: docker-stress
1618
env:
1719
GO111MODULE: on

.github/workflows/docs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
push:
44
branches:
55
- development
6-
paths:
7-
- .github/workflows/docs.yml
8-
- "docs/**"
6+
# Commented paths to avoid skipping required workflow
7+
# See https://github.community/t/feature-request-conditional-required-checks/16761
8+
# paths:
9+
# - .github/workflows/docs.yml
10+
# - "docs/**"
911

1012
jobs:
1113
build:

.github/workflows/integration-tests.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
on:
22
pull_request:
3-
paths:
4-
- .github/workflows/integration-tests.yml
5-
- "**/*.go"
6-
- "chain/**"
7-
- "cmd/**"
8-
- "dot/**"
9-
- "internal/**"
10-
- "lib/**"
11-
- "pkg/**"
12-
- "tests/**"
13-
- go.mod
14-
- go.sum
3+
# Commented paths to avoid skipping required workflow
4+
# See https://github.community/t/feature-request-conditional-required-checks/16761
5+
# paths:
6+
# - .github/workflows/integration-tests.yml
7+
# - "**/*.go"
8+
# - "chain/**"
9+
# - "cmd/**"
10+
# - "dot/**"
11+
# - "internal/**"
12+
# - "lib/**"
13+
# - "pkg/**"
14+
# - "tests/**"
15+
# - go.mod
16+
# - go.sum
1517
name: integration-tests
1618

1719
jobs:
1820
integration-tests:
1921
timeout-minutes: 60
2022
strategy:
2123
matrix:
22-
packages: [
23-
github.com/ChainSafe/gossamer/dot/rpc/modules,
24-
github.com/ChainSafe/gossamer/lib/babe
25-
]
24+
packages:
25+
[
26+
github.com/ChainSafe/gossamer/dot/rpc/modules,
27+
github.com/ChainSafe/gossamer/lib/babe,
28+
]
2629
runs-on: ubuntu-latest
2730
steps:
2831
- id: go-cache-paths
@@ -53,4 +56,3 @@ jobs:
5356

5457
- name: Run integration tests
5558
run: go test -timeout=30m -tags integration ${{ matrix.packages }}
56-

.github/workflows/mocks.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
pull_request:
44
branches:
55
- development
6-
paths:
7-
- .github/workflows/mocks.yml
8-
- "**/*.go"
6+
# Commented paths to avoid skipping required workflow
7+
# See https://github.community/t/feature-request-conditional-required-checks/16761
8+
# paths:
9+
# - .github/workflows/mocks.yml
10+
# - "**/*.go"
911

1012
jobs:
1113
mocks-check:

0 commit comments

Comments
 (0)