Skip to content

Commit 19bb67f

Browse files
authored
Remove now unused older named reusables (#103)
1 parent b28ad7b commit 19bb67f

9 files changed

Lines changed: 7 additions & 557 deletions

.github/workflows/go-build.yaml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/go-test.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/releasability.yaml

Lines changed: 0 additions & 149 deletions
This file was deleted.

.github/workflows/release-notes.yaml

Lines changed: 0 additions & 102 deletions
This file was deleted.
File renamed without changes.

.github/workflows/reusable-style.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ on:
33
workflow_call:
44
# Option to set to false to disable
55
inputs:
6-
gofmt:
7-
description: "Option to disable gofmt."
6+
go_style:
7+
description: "Option to disable go style reusable."
88
required: false
99
type: boolean
1010
default: true
@@ -64,13 +64,12 @@ jobs:
6464
- '${{ inputs.gha_yaml_path_regex }}'
6565
6666
67-
gofmt:
67+
go_style:
6868
needs: changes
69-
if: ${{ (inputs.gofmt == true) && (needs.changes.outputs.golang == 'true') }}
70-
name: "suggester / gofmt"
71-
runs-on: ubuntu-latest
72-
steps:
73-
- uses: knative/actions/composite/style/gofmt@main
69+
if: ${{ (inputs.go_style == true) && (needs.changes.outputs.golang == 'true') }}
70+
name: "Golang"
71+
# TODO: This should be broken down into composites like the rest
72+
uses: knative/actions/.github/workflows/reusable-helper-go-style.yaml@main
7473

7574
shell:
7675
needs: changes

0 commit comments

Comments
 (0)