Repository navigation
fix: Add security context to init container #7667
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "*" | |
| pull_request: | |
| jobs: | |
| lint: | |
| uses: ./.github/workflows/_tox.yml | |
| with: | |
| tox: pre-commit,type-checking | |
| test: | |
| strategy: | |
| matrix: | |
| runs-on: ["ubuntu-latest"] # can add windows-latest, macos-latest | |
| python-version: ["3.11", "3.12", "3.13"] | |
| fail-fast: false | |
| uses: ./.github/workflows/_test.yml | |
| with: | |
| runs-on: ${{ matrix.runs-on }} | |
| python-version: ${{ matrix.python-version }} | |
| # https://github.com/DiamondLightSource/blueapi/issues/1297 | |
| # Temporarily disabled until Tiled release with authz | |
| # system-test: | |
| # uses: ./.github/workflows/_system_test.yml | |
| container: | |
| needs: test | |
| if: always() | |
| uses: ./.github/workflows/_container.yml | |
| with: | |
| publish: ${{ needs.test.result == 'success' }} | |
| permissions: | |
| contents: read | |
| packages: write | |
| docs: | |
| uses: ./.github/workflows/_docs.yml | |
| permissions: | |
| contents: write | |
| dist: | |
| uses: ./.github/workflows/_dist.yml | |
| pypi: | |
| needs: [dist, test] | |
| if: github.ref_type == 'tag' | |
| uses: ./.github/workflows/_pypi.yml | |
| permissions: | |
| id-token: write | |
| release: | |
| needs: [dist, test, docs] | |
| if: github.ref_type == 'tag' | |
| uses: ./.github/workflows/_release.yml | |
| permissions: | |
| contents: write |