Skip to content

Commit

Permalink
Added checkout to custom_regex_scan.yml Action
Browse files Browse the repository at this point in the history
  • Loading branch information
blupants committed Aug 5, 2024
1 parent 4c492c4 commit 590e666
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/custom_regex_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ on:

jobs:

checkout_regex_file:
linear_secret_scanning:
permissions: write-all
runs-on: [ubuntu-latest]
steps:

- name: Checkout customized regex file
uses: actions/checkout@v3
with:
ref: main
sparse-checkout: |
.github/workflows/config/my_regex.toml
linear_secret_scanning:
permissions: write-all
runs-on: [ubuntu-latest]
steps:
- name: Scan Linear.app with custom regex
uses: spark1security/n0s1-action@main
env:
Expand All @@ -49,6 +46,14 @@ jobs:
permissions: write-all
runs-on: [ ubuntu-latest ]
steps:

- name: Checkout customized regex file
uses: actions/checkout@v3
with:
ref: main
sparse-checkout: |
.github/workflows/config/my_regex.toml
- name: Scan Jira with custom regex
uses: spark1security/n0s1-action@main
env:
Expand Down

0 comments on commit 590e666

Please sign in to comment.