diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml index 0dfe48a..4622e6a 100644 --- a/.github/workflows/fly.yml +++ b/.github/workflows/fly.yml @@ -4,6 +4,9 @@ on: push: branches: [main] +permissions: + contents: read + jobs: deploy: concurrency: @@ -12,8 +15,10 @@ jobs: name: Deploy app runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: superfly/flyctl-actions/setup-flyctl@1.5 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: superfly/flyctl-actions/setup-flyctl@fc53c09e1bc3be6f54706524e3b82c4f462f77be # 1.5 - name: Deploy App run: flyctl deploy --remote-only env: @@ -24,9 +29,11 @@ jobs: needs: [deploy] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 - - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version-file: '.nvmrc' cache: "pnpm" diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml new file mode 100644 index 0000000..7a659b2 --- /dev/null +++ b/.github/workflows/zizmor.yml @@ -0,0 +1,25 @@ +name: GitHub Actions Security Analysis + +on: + push: + branches: [main] + pull_request: + branches: ["**"] + +permissions: {} + +jobs: + zizmor: + name: Run zizmor + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + + - name: Run zizmor + uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6 + with: + advanced-security: false + annotations: true diff --git a/package.json b/package.json index 98f3b5b..cee691a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "keywords": [], "author": "", "license": "MIT", - "packageManager": "pnpm@10.5.2", + "packageManager": "pnpm@11.4.0+sha512.f0febc7e37552ab485494a914241b338e0b3580b93d54ce31f00933015880863129038a1b4ae4e414a0ee63ac35bf21197e990172c4a68256450b5636310968f", "devDependencies": { "@types/node": "^25.2.0", "typescript": "^5.9.3" @@ -20,4 +20,4 @@ "dependencies": { "typesense": "^2.1.0" } -} \ No newline at end of file +}