Skip to content

Commit

Permalink
add compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
gmontalvoy committed Dec 5, 2023
1 parent 864e7d5 commit cd83be4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v ./...
run: go test -v ./...
22 changes: 22 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Security checks
on:
push:
branches:
- main
jobs:
image_scanning:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
id: changes
with:
fetch-depth: 0

- name: Changed Files
uses: tj-actions/[email protected]

- name: List all changed files
run: |
for file in ${{ steps.changes.outputs.all_changed_files }}; do
echo "$file was modified"
done

0 comments on commit cd83be4

Please sign in to comment.