Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
pull_request_target:
types: [opened, closed, synchronize]

permissions:
contents: read
pull-requests: write
issues: write
actions: read

jobs:
CLAssistant:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cloud-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
default: main
description: The image tag to use for the mondoo operator image

permissions:
contents: read
checks: write

env:
MONDOO_OPERATOR_IMAGE_TAG: ${{ github.event.inputs.mondooOperatorImageTag || 'main' }}
CNSPEC_IMAGE_TAG: ${{ github.event.inputs.cnspecImageTag || 'latest-rootless' }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/edge-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
integration-tests:
uses: ./.github/workflows/integration-tests.yaml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/leftover-spaces-cleaner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
# Every Sunday at 11PM
- cron: '0 23 * * 0'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches: [main]

permissions:
contents: read

jobs:
md-links:
name: Run markdown link check
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
- "main"
tags: ["v*.*.*"]

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@37c927c24552caa0ef6040ab0876db729cc12754 # v1.0.2-beta7
with:
config: ${{ vars.PERMISSIONS_CONFIG }}
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types:
- completed

permissions:
contents: read

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
# Publish semver tags as releases.
tags: ["v*.*.*"]

# Restrictive top-level default; individual jobs escalate as needed.
permissions:
contents: read

env:
REGISTRY: ghcr.io
GHCR_IMAGE: ghcr.io/${{ github.repository }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release Manifests
on:
workflow_call:

permissions:
contents: write

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
Expand Down
Loading