Skip to content

Commit 8065e62

Browse files
ci: remove check docs only since it is blocking the ci
1 parent cd2a493 commit 8065e62

File tree

3 files changed

+4
-59
lines changed

3 files changed

+4
-59
lines changed

.github/workflows/apidiff.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,11 @@ on:
66
pull_request:
77

88
jobs:
9-
check_docs_only:
10-
name: check_docs_only
11-
runs-on: ubuntu-18.04
12-
outputs:
13-
skip: ${{ steps.check_docs_only.outputs.skip }}
14-
steps:
15-
- uses: actions/checkout@v3
16-
with:
17-
fetch-depth: 0
18-
- id: check_docs_only
19-
# Since PR's are squashed prior to merging to the branch checked out (default branch),
20-
# HEAD^ will resolve to the previous point in history.
21-
run: |
22-
REF="HEAD^"
23-
[[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2)
24-
echo "::set-output name=skip::$(test/check-docs-only.sh $REF)"
25-
269
go-apidiff:
2710
name: Verify API differences
2811
runs-on: ubuntu-latest
29-
needs: check_docs_only
3012
# Pull requests from different repository only trigger this checks
31-
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
13+
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
3214
steps:
3315
- name: Clone the code
3416
uses: actions/checkout@v3

.github/workflows/lint.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,11 @@ on:
66
pull_request:
77

88
jobs:
9-
check_docs_only:
10-
name: check_docs_only
11-
runs-on: ubuntu-18.04
12-
outputs:
13-
skip: ${{ steps.check_docs_only.outputs.skip }}
14-
steps:
15-
- uses: actions/checkout@v3
16-
with:
17-
fetch-depth: 0
18-
- id: check_docs_only
19-
# Since PR's are squashed prior to merging to the branch checked out (default branch),
20-
# HEAD^ will resolve to the previous point in history.
21-
run: |
22-
REF="HEAD^"
23-
[[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2)
24-
echo "::set-output name=skip::$(test/check-docs-only.sh $REF)"
25-
269
lint:
2710
name: golangci-lint
2811
runs-on: ubuntu-latest
29-
needs: check_docs_only
3012
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
31-
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
13+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
3214
steps:
3315
- name: Setup Go
3416
uses: actions/setup-go@v4

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,6 @@ on:
66
pull_request:
77

88
jobs:
9-
check_docs_only:
10-
name: check_docs_only
11-
runs-on: ubuntu-18.04
12-
outputs:
13-
skip: ${{ steps.check_docs_only.outputs.skip }}
14-
steps:
15-
- uses: actions/checkout@v3
16-
with:
17-
fetch-depth: 0
18-
- id: check_docs_only
19-
# Since PR's are squashed prior to merging to the branch checked out (default branch),
20-
# HEAD^ will resolve to the previous point in history.
21-
run: |
22-
REF="HEAD^"
23-
[[ -z "${{ github.base_ref }}" ]] || REF=$(git show-ref ${{ github.base_ref }} | head -1 | cut -d' ' -f2)
24-
echo "::set-output name=skip::$(test/check-docs-only.sh $REF)"
25-
269
test:
2710
name: ${{ matrix.os }}
2811
runs-on: ${{ matrix.os }}
@@ -31,9 +14,8 @@ jobs:
3114
os:
3215
- ubuntu-latest
3316
- macos-latest
34-
needs: check_docs_only
3517
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
36-
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
18+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
3719
steps:
3820
- name: Clone the code
3921
uses: actions/checkout@v3
@@ -61,10 +43,9 @@ jobs:
6143
name: Code coverage
6244
needs:
6345
- test
64-
- check_docs_only
6546
runs-on: ubuntu-latest
6647
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
67-
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && needs.check_docs_only.outputs.skip != 'true'
48+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
6849
steps:
6950
- name: Clone the code
7051
uses: actions/checkout@v3

0 commit comments

Comments
 (0)