diff --git a/.github/workflows/check-with-osv-detector.yml b/.github/workflows/check-with-osv-detector.yml deleted file mode 100644 index 95af05dd..00000000 --- a/.github/workflows/check-with-osv-detector.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Check dependencies for known security vulnerabilities - -on: - pull_request: - workflow_dispatch: - -jobs: - check-dependencies: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Check dependencies for security vulnerabilities - uses: g-rath/check-with-osv-detector@main diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49f9c6d8..87bb65b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,6 @@ name: Rails Template CI on: + workflow_dispatch: pull_request: push: branches: @@ -18,6 +19,14 @@ permissions: contents: read # to fetch code (actions/checkout) jobs: + audit_dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + persist-credentials: false + - name: Audit dependencies for security vulnerabilities + uses: g-rath/check-with-osv-detector@main test: runs-on: ubuntu-latest steps: