diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 36d4089..8f8a542 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,6 +28,15 @@ jobs: with: dockerfile: docker/Dockerfile + # This step uses the Bearer GitHub Action to scan for sensitive data in the codebase. + # The 'uses' keyword specifies the action to be used, in this case, 'bearer/bearer-action' at version 'v2'. + # The 'with' keyword provides input parameters for the action: + # - 'diff: true' indicates that the action should only scan the changes in the current pull request or commit. + - name: Bearer + uses: bearer/bearer-action@v2 + with: + diff: true + testing: runs-on: ubuntu-latest container: golang:1.22-alpine