Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #91 from atc0005/update-analysis-workflow-to-use-o…
Browse files Browse the repository at this point in the history
…n-push-hook

Update vuln analysis GHAW to use on.push hook
  • Loading branch information
atc0005 authored Mar 17, 2023
2 parents af226e2 + 804e2a4 commit 593b9c8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/project-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,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 @@ -32,9 +40,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

0 comments on commit 593b9c8

Please sign in to comment.