Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vuln analysis GHAW to use on.push hook #29

Merged
merged 1 commit into from
Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/project-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@
name: Project Analysis

on:
push:
# branches: [master]

pull_request:
# `synchronized` seems to equate to pushing new commits to a linked branch
# (whether force-pushed or not)
types: [opened, synchronize]

# The branches below must be a subset of the branches above
# branches: [master]

jobs:
lint:
# Only run this job on non-push events (e.g., pull requests)
if: github.event_name != 'push'
name: Lint
uses: atc0005/shared-project-resources/.github/workflows/lint-project-files.yml@master

Expand All @@ -23,9 +31,13 @@ jobs:
uses: atc0005/shared-project-resources/.github/workflows/vulnerability-analysis.yml@master

go_mod_validation:
# Only run this job on non-push events (e.g., pull requests)
if: github.event_name != 'push'
name: Go Module Validation
uses: atc0005/shared-project-resources/.github/workflows/go-mod-validation.yml@master

dependency_updates:
# Only run this job on non-push events (e.g., pull requests)
if: github.event_name != 'push'
name: Dependency Updates
uses: atc0005/shared-project-resources/.github/workflows/dependency-updates.yml@master