Skip to content

Commit

Permalink
test: Enable workflow_dispatch to trigger tests manually.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Feb 1, 2024
1 parent d0df49d commit 73b83b1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/go-dep-submission.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: Go Dependency Submission
on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '>= 1.21'
go-version: ">= 1.21"
cache: true

- name: Run snapshot action
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name: Golangci-lint
on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -33,7 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '>= 1.21'
go-version: ">= 1.21"
cache: true

- name: golangci-lint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name: Gosec
on:
workflow_dispatch:
push:
branches:
- main
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name: Govulncheck
on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -28,11 +29,11 @@ jobs:
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '>= 1.21'
go-version: ">= 1.21"
cache: true

- id: govulncheck
uses: golang/govulncheck-action@7da72f730e37eeaad891fcff0a532d27ed737cd4 # v1.0.1
with:
go-version-input: '>= 1.21'
go-version-input: ">= 1.21"
check-latest: true
1 change: 1 addition & 0 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name: OSV Scanner
on:
workflow_dispatch:
push:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name: Tests
on:
workflow_dispatch:
push:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/trufflehog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

name: TruffleHog
on:
workflow_dispatch:
push:
branches:
- main
Expand Down

0 comments on commit 73b83b1

Please sign in to comment.