diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 010e2133f..f2f7f6210 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ jobs: - '3.8' - '3.9' - '3.10' + - '3.11' os: - ubuntu-latest - macos-latest @@ -29,6 +30,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up Python uses: actions/setup-python@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ff08840e3..b1f87b84a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,7 +6,6 @@ on: - master - "!dependabot/**" pull_request: - # The branches below must be a subset of the branches above branches: - master - "!dependabot/**" @@ -24,13 +23,21 @@ jobs: security-events: write steps: - - name: Checkout repository + - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: "python" + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + with: + category: "/language:python" diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 7a68a7385..9857f0a5d 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -19,21 +19,27 @@ jobs: contents: read packages: write steps: - - name: Checkout + - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + - name: Log in to the Container registry uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Extract metadata (tags, labels) id: meta uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + - name: Build and push container image uses: docker/build-push-action@v3 with: diff --git a/.github/workflows/depsreview.yaml b/.github/workflows/depsreview.yaml index a25de591b..5a9469932 100644 --- a/.github/workflows/depsreview.yaml +++ b/.github/workflows/depsreview.yaml @@ -8,7 +8,10 @@ jobs: dependency-review: runs-on: ubuntu-latest steps: - - name: 'Checkout Repository' + - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false + - name: 'Dependency Review' uses: actions/dependency-review-action@v2