Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vorpal PR #319

Closed
wants to merge 5 commits into from
Closed
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
1 change: 1 addition & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ jobs:
with:
name: cypress-artifacts-node${{ matrix.node-version }}
path: test/e2e/screenshots

38 changes: 38 additions & 0 deletions .github/workflows/vorpal-code-scanning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Vorpal Code Scanning with reviewdog

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 3 * * *" # Runs daily at 3 AM UTC

jobs:
scan:
runs-on: ubuntu-latest

steps:
# Step 1: Check out the repository code
- name: Checkout repository
uses: actions/checkout@v3

# Step 2: Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16

# Step 3: Install dependencies
- name: Install project dependencies
run: npm install

# Step 4: Run Vorpal GitHub Action with reviewdog
- name: Vorpal GitHub Action With reviewdog
uses: Checkmarx/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review # Report as a PR review comment
level: warning # Severity level for reviewdog comments