Skip to content

Commit 7d6f275

Browse files
authored
Merge branch 'main' into main
2 parents b38046b + 43e8f11 commit 7d6f275

File tree

4,202 files changed

+110378
-46777
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,202 files changed

+110378
-46777
lines changed

.github/ISSUE_TEMPLATE/007_ext-source.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ required to maintain ...)
4949
Why is this the right component to solve it (e.g., SQLite is small,
5050
easy to use, and has a very liberal license.)
5151

52+
## Security
53+
54+
Does this component include any cryptographic functionality?
55+
If so, please describe the cryptographic algorithms and protocols used.
56+
57+
How does this component handle security vulnerabilities and updates?
58+
Are there any known vulnerabilities in this component? If so, please
59+
provide details and references to any CVEs or security advisories.
60+
5261
## Dependencies
5362

5463
What other components does this package depend on?

.github/SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ updates:
1111
At this time, with the latest release of v4.0, the supported
1212
versions are:
1313

14-
- v4.0: Current release
15-
- v3.7: Prior release and Current LTS
16-
- v2.7: Prior LTS
14+
- v4.1: Current release
15+
- v4.0: Prior release
16+
- v3.7: Current LTS
1717

1818
## Reporting process
1919

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths:
2+
- .github

.github/codeql/codeql-js-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths:
2+
- doc

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ updates:
1111
actions-deps:
1212
patterns:
1313
- "*"
14+
15+
- package-ecosystem: "pip"
16+
directory: "/doc"
17+
schedule:
18+
interval: "weekly"
19+
commit-message:
20+
prefix: "ci: doc: "
21+
labels: []
22+
groups:
23+
doc-deps:
24+
patterns:
25+
- "*"

.github/workflows/assigner.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,29 @@ on:
1515
types:
1616
- labeled
1717

18+
permissions:
19+
contents: read
20+
1821
jobs:
1922
assignment:
2023
name: Pull Request Assignment
2124
if: github.event.pull_request.draft == false
2225
runs-on: ubuntu-22.04
26+
permissions:
27+
pull-requests: write # to add assignees to pull requests
28+
issues: write # to add assignees to issues
2329

2430
steps:
2531
- name: Install Python dependencies
2632
run: |
2733
pip install -U PyGithub>=1.55 west
2834
2935
- name: Check out source code
30-
uses: actions/checkout@v4
36+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3137

3238
- name: Run assignment script
3339
env:
34-
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3541
run: |
3642
FLAGS="-v"
3743
FLAGS+=" -o ${{ github.event.repository.owner.login }}"

.github/workflows/backport.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@ on:
77
branches:
88
- main
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
backport:
1215
name: Backport
1316
runs-on: ubuntu-22.04
17+
permissions:
18+
contents: write # to create/push backport branches
19+
pull-requests: write # to create backport PRs
20+
issues: write # to add labels to issue created if backport fails
1421
# Only react to merged PRs for security reasons.
1522
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
1623
if: >
@@ -24,8 +31,8 @@ jobs:
2431
)
2532
steps:
2633
- name: Backport
27-
uses: zephyrproject-rtos/action-backport@v2.0.3-3
34+
uses: zephyrproject-rtos/action-backport@7e74f601d11eaca577742445e87775b5651a965f # v2.0.3-3
2835
with:
29-
github_token: ${{ secrets.ZB_GITHUB_TOKEN }}
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
3037
issue_labels: Backport
3138
labels_template: '["Backport"]'

.github/workflows/backport_issue_check.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches:
1111
- v*-branch
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
backport:
1518
name: Backport Issue Check
@@ -18,18 +21,20 @@ jobs:
1821
cancel-in-progress: true
1922
runs-on: ubuntu-22.04
2023
if: github.repository == 'zephyrproject-rtos/zephyr'
24+
permissions:
25+
issues: read # to check if associated issue exists for backport
2126

2227
steps:
2328
- name: Check out source code
24-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2530

2631
- name: Install Python dependencies
2732
run: |
2833
pip install -U pygithub
2934
3035
- name: Run backport issue checker
3136
env:
32-
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3338
run: |
3439
./scripts/release/list_backports.py \
3540
-o ${{ github.event.repository.owner.login }} \

.github/workflows/bsim-tests-publish.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,26 @@ on:
55
workflows: ["BabbleSim Tests"]
66
types:
77
- completed
8+
9+
permissions:
10+
contents: read
11+
812
jobs:
913
bsim-test-results:
1014
name: "Publish BabbleSim Test Results"
1115
runs-on: ubuntu-22.04
1216
if: github.event.workflow_run.conclusion != 'skipped'
17+
permissions:
18+
checks: write # to create the check run entry with test results
1319

1420
steps:
1521
- name: Download artifacts
16-
uses: dawidd6/action-download-artifact@v8
22+
uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
1723
with:
1824
run_id: ${{ github.event.workflow_run.id }}
1925

2026
- name: Publish BabbleSim Test Results
21-
uses: EnricoMi/publish-unit-test-result-action@v2
27+
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
2228
with:
2329
check_name: BabbleSim Test Results
2430
comment_mode: off

.github/workflows/bsim-tests.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ on:
2828
- "drivers/serial/*nrfx*"
2929
- "tests/drivers/uart/**"
3030

31+
permissions:
32+
contents: read
33+
3134
concurrency:
3235
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
3336
cancel-in-progress: true
@@ -45,6 +48,9 @@ jobs:
4548
BSIM_OUT_PATH: /opt/bsim/
4649
BSIM_COMPONENTS_PATH: /opt/bsim/components
4750
EDTT_PATH: ../tools/edtt
51+
permissions:
52+
checks: write # to create the check run entry with test results
53+
4854
steps:
4955
- name: Apply container owner mismatch workaround
5056
run: |
@@ -67,7 +73,7 @@ jobs:
6773
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
6874
6975
- name: Checkout
70-
uses: actions/checkout@v4
76+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7177
with:
7278
fetch-depth: 0
7379

@@ -91,7 +97,7 @@ jobs:
9197
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
9298
9399
- name: Check common triggering files
94-
uses: tj-actions/changed-files@v45
100+
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
95101
id: check-common-files
96102
with:
97103
files: |
@@ -110,7 +116,7 @@ jobs:
110116
modules/hal_nordic/**
111117
112118
- name: Check if Bluethooth files changed
113-
uses: tj-actions/changed-files@v45
119+
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
114120
id: check-bluetooth-files
115121
with:
116122
files: |
@@ -119,7 +125,7 @@ jobs:
119125
subsys/bluetooth/
120126
121127
- name: Check if Networking files changed
122-
uses: tj-actions/changed-files@v45
128+
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
123129
id: check-networking-files
124130
with:
125131
files: |
@@ -132,7 +138,7 @@ jobs:
132138
include/zephyr/net/ieee802154*
133139
134140
- name: Check if UART files changed
135-
uses: tj-actions/changed-files@v45
141+
uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
136142
id: check-uart-files
137143
with:
138144
files: |
@@ -178,23 +184,23 @@ jobs:
178184
179185
- name: Upload Unit Test Results in HTML
180186
if: always()
181-
uses: actions/upload-artifact@v4
187+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
182188
with:
183189
name: HTML Unit Test Results
184190
if-no-files-found: ignore
185191
path: |
186192
junit.html
187193
188194
- name: Publish Unit Test Results
189-
uses: EnricoMi/publish-unit-test-result-action@v2
195+
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
190196
with:
191197
check_name: Bsim Test Results
192198
files: "junit.xml"
193199
comment_mode: off
194200

195201
- name: Upload Event Details
196202
if: always()
197-
uses: actions/upload-artifact@v4
203+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
198204
with:
199205
name: event
200206
path: |

0 commit comments

Comments
 (0)