diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 89bf952..0b30c8f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,10 +7,12 @@ jobs: build-deploy: runs-on: ubuntu-latest - # These permissions are needed to interact with GitHub's OIDC Token endpoint. + # These permissions are needed to interact with GitHub's OIDC Token endpoint permissions: id-token: write contents: read + actions: read + security-events: write strategy: matrix: python-version: [3.11] @@ -19,6 +21,11 @@ jobs: - name: checkout source code uses: actions/checkout@v4 + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + setup-python-dependencies: false + - name: Install Python uses: actions/setup-python@v5 with: @@ -37,6 +44,9 @@ jobs: cd lambda-notif && zip -r ../lambda-notif.zip . && \ ls -lh + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 with: diff --git a/.yaml-lint.yml b/.yaml-lint.yml new file mode 100644 index 0000000..aa53554 --- /dev/null +++ b/.yaml-lint.yml @@ -0,0 +1,2 @@ +rules: + document-start: disable