Skip to content
Draft
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
4 changes: 4 additions & 0 deletions .github/workflows/docker_img.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ on:
type: boolean
default: false

permissions:
contents: read
packages: write

jobs:
build_images_base:
name: Build Docker CHIP Build images - base
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ concurrency:
'workflow_dispatch' && github.run_number) || github.sha }}
cancel-in-progress: true

permissions:
contents: read

jobs:
code-lints:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/minimal-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
cancel-in-progress: true

permissions:
contents: read

jobs:
minimal-all-clusters:
name: Linux / configure build of all-clusters-app
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/mypy-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ on:
- 'scripts/tests/chiptest/**/*.py'
- 'scripts/tests/run_test_suite.py'

permissions:
contents: read

jobs:
mypy-check:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
types: [opened, synchronize, reopened, edited]

permissions: {}

jobs:
check_testing_header:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/protocol_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
paths:
- "src/controller/data_model/controller-clusters.matter"

permissions:
contents: read

jobs:
check_clusters_matter:
name: Check controller-clusters.matter backwards compatibility
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/qemu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ concurrency:
env:
CHIP_LOG_TIMESTAMPS: false

permissions:
contents: read

jobs:

qemu-esp32:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ on:
env:
CHIP_LOG_TIMESTAMPS: false

permissions:
contents: write

jobs:
esp32:
name: ESP32
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/restyled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
restyled:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/roll_and_build_docker.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Manually Roll, Build, and Push Docker Images
on:
workflow_dispatch:

permissions:
contents: write

jobs:
roll_version:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/smoketest-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ concurrency:
env:
CHIP_LOG_TIMESTAMPS: false

permissions:
contents: read

jobs:
android:
name: Smoke Run - Android
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/spell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
- "**.md"
- ".github/.wordlist.txt"

permissions:
contents: read

jobs:
check-spellcheck:
name: Check Spelling - pyspelling
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tag-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
# description: 'Branch'
# required: false
# type: string

permissions:
contents: write

jobs:
tag_main_release:
name: Tag Current Release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ concurrency:
env:
CHIP_LOG_TIMESTAMPS: false

permissions:
contents: read

jobs:
test_suites_linux:
name: Test Suites - Linux
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/third-party-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ on:
- ".gitmodules"
types: [opened, synchronize, reopened, labeled, unlabeled]

permissions: {}

jobs:
check-submodule-update-label:
name: Check For Submodule Update Label
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit_integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
cancel-in-progress: true

permissions:
contents: read

jobs:
unit_tests:
name: Unit / Integration Tests
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zap_regeneration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ concurrency:
env:
CHIP_LOG_TIMESTAMPS: false

permissions:
contents: read

jobs:
zap_regeneration:
name: ZAP Regeneration
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zap_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ concurrency:
env:
CHIP_LOG_TIMESTAMPS: false

permissions:
contents: read

jobs:
zap_templates:
name: ZAP templates generation
Expand Down