Skip to content

Commit b291ffc

Browse files
committed
remove test function and debug outputs
1 parent 940c890 commit b291ffc

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.github/workflows/generate-go-docs.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
generate_docs_new_pr:
12+
name: Generate Go Docs
1213
if: ${{ contains(github.event.pull_request.labels.*.name, 'generate_go_docs') }}
1314
runs-on: ubuntu-latest
1415
environment: integration
@@ -150,11 +151,6 @@ jobs:
150151
body: "This PR contains automatically generated go documentation for the PR#${{ github.event.pull_request.number }}. Please review the changes."
151152
commit-message: "[Bot] Add automatically generated go documentation"
152153

153-
- name: Check outputs
154-
run: |
155-
echo "new: ${{ steps.create-pr.outputs.pull-request-number }}"
156-
echo "old: ${{ github.event.pull_request.number }}"
157-
158154
- name: Find comment with PR link
159155
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
160156
id: fc
@@ -176,10 +172,6 @@ jobs:
176172
177173
- name: Create comment in the original PR to notify about no new docs
178174
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
179-
# we want to post this warning only, if it is the first time we are running this action on the PR
180-
# it is entirely valid to have (some) subsequent commits without new docs as long as at least
181-
# one commit introduced changes to public functions without existing comments
182-
# && steps.fc.outputs.comment-id == 0
183175
if: steps.create-pr.outputs.pull-request-number == ''
184176
with:
185177
token: ${{ steps.setup-github-token-write.outputs.access-token }}

tools/breakingchanges/cmd/main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ const (
2020
Reset = "\033[0m"
2121
)
2222

23-
func SuchABreakingChange() {
24-
fmt.Println("This is a breaking change")
25-
}
26-
2723
func findGoModDirs(rootFolder, subDir string) ([]string, error) {
2824
var goModDirs []string
2925

0 commit comments

Comments
 (0)