diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ae7b23..a4c3b2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,20 @@ on: - main pull_request: +permissions: {} + jobs: check: runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + permissions: + contents: read steps: - name: Checkout uses: actions/checkout@v5 + with: + persist-credentials: false - name: Setup Bun uses: oven-sh/setup-bun@v2