diff --git a/.github/workflows/cf.yaml b/.github/workflows/cf.yaml index 218b85d..c86e9bd 100644 --- a/.github/workflows/cf.yaml +++ b/.github/workflows/cf.yaml @@ -25,6 +25,9 @@ on: branches: - main +permissions: + contents: read + concurrency: group: cf-${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b4b0a74..f164e1d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,6 +5,9 @@ on: release: types: [published] +permissions: + contents: read + jobs: tests: uses: capire/samples/.github/workflows/test.yaml@main diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 501a1e2..9fd191f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,6 +9,8 @@ on: branches: - main +permissions: + contents: read jobs: tests: runs-on: ubuntu-latest