Skip to content

Commit 786bb02

Browse files
committed
Try fix yaml identation
1 parent 3419867 commit 786bb02

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/Semgrep.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
# Scan on-demand through GitHub Actions interface:
1010
workflow_dispatch:
1111
branches:
12-
- main
12+
- main
1313
# Schedule the CI job (this method uses cron syntax):
1414
schedule:
1515
- cron: '0 0 * * 1' # Run at start of week
@@ -21,32 +21,29 @@ jobs:
2121
# If you are self-hosting, change the following `runs-on` value:
2222
runs-on: ubuntu-latest
2323

24-
# Skip any PR created by dependabot to avoid permission issues:
25-
if: (github.actor != 'dependabot[bot]')
26-
2724
steps:
2825
# Checkout the repository.
2926
- name: Clone source code
3027
uses: actions/checkout@v4
3128

32-
3329
# Checkout custom rules
3430
- name: Checkout custom rules
3531
uses: actions/checkout@v4
3632
with:
37-
repository: JuliaComputing/semgrep-rules-julia
38-
ref: main
39-
path: ./JuliaRules
33+
repository: JuliaComputing/semgrep-rules-julia
34+
ref: main
35+
path: ./JuliaRules
4036

4137
# Prepare Python
4238
- uses: actions/setup-python@v5
4339
with:
44-
python-version: '3.10'
40+
python-version: '3.10'
4541

4642
# Install Semgrep
4743
- name: Install Semgrep
4844
run: python3 -m pip install semgrep
49-
45+
46+
# Run Semgrep
5047
- name: Scan with Semgrep
5148
run: |
5249
semgrep scan \
@@ -59,10 +56,9 @@ jobs:
5956
- name: Save Semgrep report
6057
use: actions/upload-artifact@v4
6158
with:
62-
name: report.sarif
63-
path: report.sarif
64-
65-
59+
name: report.sarif
60+
path: report.sarif
61+
6662
- name: Upload Semgrep report
6763
uses: github/codeql-action/upload-sarif@v3
6864
with:

0 commit comments

Comments
 (0)