Skip to content

Commit

Permalink
added filtering to the automatic actions run
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Dec 21, 2024
1 parent 244c558 commit b50ccc9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CodeQL Advanced - Security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ name: "CodeQL Advanced - Security"
on:
workflow_dispatch:
push:
branches: [ "main" ]
branches: ["main"]
paths:
- "**.cs"
pull_request:
branches: [ "main" ]
branches: ["main"]
paths:
- "**.cs"

jobs:
analyze:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,18 @@ name: PSScriptAnalyzer

on:
push:
branches: [ "main" ]
branches: ["main"]
paths:
- "**.ps1"
- "**.psm1"
- "**.psd1"

pull_request:
branches: [ "main" ]
branches: ["main"]
paths:
- "**.ps1"
- "**.psm1"
- "**.psd1"

permissions:
contents: read
Expand Down

0 comments on commit b50ccc9

Please sign in to comment.