Skip to content
Open
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
5 changes: 5 additions & 0 deletions .github/workflows/ci-complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
types:
- completed

permissions:
actions: read
contents: read
statuses: write

run-name: Build Scans for ${{ github.event.workflow_run.display_title}}

# This workflow runs after the completion of the CI workflow triggered on a "pull_request" event.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ on:
type: string
default: '17'

permissions:
contents: read

jobs:
deflake:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ on:
description: Kafka url to be used to build the docker image
required: true

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker_official_image_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
description: Kafka version for the docker official image. This should be >=3.7.0
required: true

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker_promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ on:
description: Docker image name of the promoted image (Example:- apache/kafka:3.8.0 (OR) apache/kafka-native:3.8.0)
required: true

permissions:
contents: read

jobs:
promote:
if: github.repository == 'apache/kafka'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker_rc_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ on:
description: Kafka url to be used to build the docker image
required: true

permissions:
contents: read

jobs:
release:
if: github.repository == 'apache/kafka'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
# This job will run at 3:30 UTC daily
- cron: '30 3 * * *'
workflow_dispatch:

permissions:
contents: read

jobs:
scan_jvm:
if: github.repository == 'apache/kafka'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ on:
types:
- labeled

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

jobs:
approve-workflow-run:
name: Approve CI
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
types:
- completed

permissions:
actions: read
contents: read
statuses: write

jobs:
lint-pr:
if: github.event.workflow_run.conclusion == 'success'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-reviewed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ on:
branches:
- trunk

permissions:
contents: read

jobs:
save-pr-number:
name: Save PR Number
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/prepare_docker_official_image_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ on:
kafka_version:
description: Kafka version for the docker official image. This should be >=3.7.0
required: true

permissions:
contents: read

jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/workflow-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
types:
- requested

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

run-name: Workflow Requested for ${{ github.event.workflow_run.display_title}}

jobs:
Expand Down