Skip to content

Commit

Permalink
Cleanup build files. Add security scan for PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
balexey88 committed Jan 19, 2024
1 parent 6e81df0 commit c2bbf6d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 533 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ jobs:
# but keep the .git folder, because we need it for the next step
- name: Cleanup files
run: |
rm -f build.sh || true
rm -f Gruntfile.js || true
rm -f Makefile || true
rm -f package.json || true
rm -f composer.lock || true
rm -rf vendor/composer/installers || true
find ./ -name '.git*' -not -path './.git' -type f -delete || true
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Security Scan
run-name: Security Scan

on:
push:
pull_request:
workflow_dispatch:

jobs:
code-scanning:
name: Code Scanning (grype)
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run Security Check
id: test
uses: anchore/scan-action@v3
with:
path: .
output-format: table


237 changes: 0 additions & 237 deletions Gruntfile.js

This file was deleted.

26 changes: 0 additions & 26 deletions Makefile

This file was deleted.

Loading

0 comments on commit c2bbf6d

Please sign in to comment.