Skip to content

Commit

Permalink
Remove now unused older named reusables (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
krsna-m authored Mar 16, 2023
1 parent b28ad7b commit 19bb67f
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 557 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/go-build.yaml

This file was deleted.

69 changes: 0 additions & 69 deletions .github/workflows/go-test.yaml

This file was deleted.

149 changes: 0 additions & 149 deletions .github/workflows/releasability.yaml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/release-notes.yaml

This file was deleted.

File renamed without changes.
15 changes: 7 additions & 8 deletions .github/workflows/reusable-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
workflow_call:
# Option to set to false to disable
inputs:
gofmt:
description: "Option to disable gofmt."
go_style:
description: "Option to disable go style reusable."
required: false
type: boolean
default: true
Expand Down Expand Up @@ -64,13 +64,12 @@ jobs:
- '${{ inputs.gha_yaml_path_regex }}'
gofmt:
go_style:
needs: changes
if: ${{ (inputs.gofmt == true) && (needs.changes.outputs.golang == 'true') }}
name: "suggester / gofmt"
runs-on: ubuntu-latest
steps:
- uses: knative/actions/composite/style/gofmt@main
if: ${{ (inputs.go_style == true) && (needs.changes.outputs.golang == 'true') }}
name: "Golang"
# TODO: This should be broken down into composites like the rest
uses: knative/actions/.github/workflows/reusable-helper-go-style.yaml@main

shell:
needs: changes
Expand Down
Loading

0 comments on commit 19bb67f

Please sign in to comment.