fix: Apply changes recommended by the OpenSSF (#1861)

This commit is contained in:
Kyle Gospodnetich 2026-03-09 21:59:38 -07:00 committed by GitHub
parent aa181675c5
commit 342f38be88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 35 additions and 5 deletions

View file

@ -12,6 +12,11 @@ on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
packages: write
id-token: write
jobs:
build-image-beta:
name: Build Beta Images

View file

@ -11,6 +11,11 @@ on:
workflow_call:
workflow_dispatch:
permissions:
contents: write
packages: write
id-token: write
jobs:
build-image-latest:
name: Build Latest Images

View file

@ -13,6 +13,11 @@ on:
workflow_call:
workflow_dispatch:
permissions:
contents: write
packages: write
id-token: write
jobs:
build-image-stable:
name: Build Stable Images

View file

@ -3,9 +3,9 @@ on:
workflow_dispatch:
permissions:
contents: read
packages: write
id-token: write
contents: write
packages: write
id-token: write
jobs:
build-image-stable:

View file

@ -4,6 +4,8 @@ on:
- cron: "15 0 * * 0" # 0015 UTC on Sundays
workflow_dispatch:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}

View file

@ -16,13 +16,14 @@ on:
options:
- '["stable"]'
permissions:
contents: write
permissions: {}
name: Generate Release
jobs:
generate-release:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
fail-fast: false
matrix:

View file

@ -7,6 +7,8 @@ on:
pull_request_review_comment:
types: [created]
permissions: {}
jobs:
spam-detection:
runs-on: ubuntu-slim

View file

@ -26,10 +26,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ inputs.brand_name}}-${{ inputs.stream_name }}
cancel-in-progress: true
permissions: {}
jobs:
build_container:
name: image
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
id-token: write
continue-on-error: false
strategy:
fail-fast: false

View file

@ -12,6 +12,8 @@ on:
- "Justfile"
- "just/*"
permissions: {}
jobs:
validate:
runs-on: ubuntu-latest

View file

@ -12,6 +12,8 @@ on:
- ".github/renovate.json5"
- ".github/workflows/renovate.yml"
permissions: {}
jobs:
validate:
runs-on: ubuntu-latest