Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci: limit the CI token to read access

Richie McIlroy18998f6fd7ec
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 473d41ec1..6ebb1e539 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,6 +6,10 @@ on:
pull_request:
workflow_dispatch:
+permissions:
+ contents: read
+ pull-requests: read
+
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
# A cancelled main run never reaches its cache save. Main runs still never
@@ -198,8 +202,6 @@ jobs:
- target: x86_64-pc-windows-msvc
runner: windows-2022
runs-on: ${{ matrix.settings.runner }}
- permissions:
- contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4