diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6943df059..646248127 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,6 +21,8 @@ jobs: lint: name: Lint uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v35.0.4 + permissions: + contents: read terraform-test: name: Terraform - Validation and replica-set product @@ -106,6 +108,8 @@ jobs: name: Check libraries runs-on: ubuntu-latest timeout-minutes: 5 + permissions: + contents: read steps: - name: Checkout uses: actions/checkout@v4 @@ -132,6 +136,8 @@ jobs: with: path-to-charm-directory: ${{ matrix.path }} cache: false + permissions: + contents: read integration-test: name: Integration test charm diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5f0e53f6f..796c4532f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,7 @@ jobs: uses: ./.github/workflows/ci.yaml secrets: inherit permissions: - contents: write # Needed for Allure Report beta + contents: write # Needed to create git tag release: name: Release charm