fix: Apply changes recommended by the OpenSSF (#1861)
This commit is contained in:
parent
aa181675c5
commit
342f38be88
10 changed files with 35 additions and 5 deletions
5
.github/workflows/build-image-beta.yml
vendored
5
.github/workflows/build-image-beta.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
5
.github/workflows/build-image-stable.yml
vendored
5
.github/workflows/build-image-stable.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
6
.github/workflows/build-images.yml
vendored
6
.github/workflows/build-images.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/clean.yml
vendored
2
.github/workflows/clean.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
5
.github/workflows/generate-release.yml
vendored
5
.github/workflows/generate-release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/moderator.yml
vendored
2
.github/workflows/moderator.yml
vendored
|
|
@ -7,6 +7,8 @@ on:
|
|||
pull_request_review_comment:
|
||||
types: [created]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
spam-detection:
|
||||
runs-on: ubuntu-slim
|
||||
|
|
|
|||
6
.github/workflows/reusable-build.yml
vendored
6
.github/workflows/reusable-build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/validate-just.yml
vendored
2
.github/workflows/validate-just.yml
vendored
|
|
@ -12,6 +12,8 @@ on:
|
|||
- "Justfile"
|
||||
- "just/*"
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
2
.github/workflows/validate-renovate.yml
vendored
2
.github/workflows/validate-renovate.yml
vendored
|
|
@ -12,6 +12,8 @@ on:
|
|||
- ".github/renovate.json5"
|
||||
- ".github/workflows/renovate.yml"
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue