[StepSecurity] ci: Harden GitHub Actions (#229)

This commit is contained in:
StepSecurity Bot 2025-03-12 18:29:50 -07:00 committed by GitHub
parent 89d2dc6d24
commit 945129915a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}

View file

@ -5,6 +5,9 @@ on:
types: [created]
workflow_dispatch:
permissions:
contents: read
jobs:
release-build:
runs-on: ubuntu-latest