Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/dast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Linters

on:
workflow_dispatch:
pull_request:
push:

jobs:
"dast-test":
runs-on: ubuntu-latest
container: python:3.11

steps:
- uses: actions/checkout@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Update actions/checkout to the latest version

The workflow is using actions/checkout@v2, which is outdated. Upgrading to actions/checkout@v3 ensures you're benefiting from the latest features and security patches.

Apply this diff to update the action version:

-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- uses: actions/checkout@v2
- uses: actions/checkout@v3
🧰 Tools
🪛 actionlint (1.7.4)

15-15: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


- name: Install dependencies
run: cat results.sarif && exit 1
Loading
Loading