Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mstelz authored Nov 28, 2024
1 parent eae4b56 commit 65041aa
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: scan
# This workflow represents a set of basic End-to-End tests
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
job_id:
name: "Scan Virus"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.0.0"
with:
fetch-depth: 0
- name: "Scan Repository"
uses: "hugoalh/scan-virus-ghaction@v0.20.0"
with:
git_ignores: |-
Param($GitCommitMeta)
Return (
$GitCommit.AuthorName -imatch '^dependabot' -or
($GitCommit.AuthorDate -lt ([DateTime]::Parse('2022-01-01T00:00:00Z')) -and $GitCommit.AuthorName -imatch '^octocat$')
)
git_limit: 100
ignores_pre: |-
Param($ElementPreMeta)
Return ($Meta.Path -imatch '^node_modules[\\/]'):

0 comments on commit 65041aa

Please sign in to comment.