From 2ac9c7a5ee7760e1f4750ef11e62e7a7712b562f Mon Sep 17 00:00:00 2001 From: Michael Lip Date: Sun, 25 Oct 2026 20:25:08 +0700 Subject: [PATCH] ci: no job sets timeout-minutes, so a hung step can run for hours; the workflow grants the default write-capable token to every step Co-Authored-By: Claude --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3aa58c5..5c09f23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,10 +5,14 @@ on: branches: [main] pull_request: +permissions: + contents: read + jobs: test: name: swift test (macOS) runs-on: macos-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v4 - name: Build