Skip to content

Commit

Permalink
Merge pull request #75 from dell/dell/update-action
Browse files Browse the repository at this point in the history
Updated the common workflow actions
  • Loading branch information
mjsdell authored Nov 13, 2024
2 parents 711da91 + 3ce67cd commit 1f32ca7
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 101 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/actions.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/common-workflows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Common Workflows
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: ["**"]

jobs:

# golang static analysis checks
go-static-analysis:
uses: dell/common-github-actions/.github/workflows/go-static-analysis.yaml@main
name: Golang Validation

common:
name: Quality Checks
uses: dell/common-github-actions/.github/workflows/go-common.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/go-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Reusable workflow to perform go version update on Golang based projects
name: Go Version Update

on:
on: # yamllint disable-line rule:truthy
workflow_dispatch:
repository_dispatch:
types: [go-update-workflow]
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/linters.yaml

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Release GoPowerscale
# Invocable as a reusable workflow
# Can be manually triggered
on:
workflow_call:
on: # yamllint disable-line rule:truthy
workflow_call:
workflow_dispatch:
inputs:
version:
description: 'Version to release (major, minor, patch)'
description: 'Version to release (major, minor, patch) Ex: 1.0.0'
required: true
default: 'none'
jobs:
csm-release:
uses: dell/common-github-actions/.github/workflows/csm-release-libs.yaml@main
Expand Down
37 changes: 0 additions & 37 deletions .golangci.yaml

This file was deleted.

0 comments on commit 1f32ca7

Please sign in to comment.