Skip to content

Commit 165de7c

Browse files
committed
github: workflows: Add manifest workflow
Add a manifest workflow to detect when a pull request is referencing a west module pull request through the west manifest. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
1 parent 02e119b commit 165de7c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/manifest.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Manifest
2+
on:
3+
pull_request_target:
4+
5+
permissions:
6+
contents: read
7+
pull-requests: write
8+
9+
jobs:
10+
contribs:
11+
runs-on: ubuntu-22.04
12+
name: Manifest
13+
steps:
14+
- name: Checkout the code
15+
uses: actions/checkout@v4
16+
with:
17+
path: silabs/zephyr-silabs
18+
ref: ${{ github.event.pull_request.head.sha }}
19+
fetch-depth: 0
20+
persist-credentials: false
21+
22+
- name: Manifest
23+
uses: zephyrproject-rtos/action-manifest@v1.3.1
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}
26+
manifest-path: 'west.yml'
27+
checkout-path: 'silabs/zephyr-silabs'
28+
use-tree-checkout: 'true'
29+
check-impostor-commits: 'true'
30+
label-prefix: 'manifest-'
31+
verbosity-level: '1'
32+
labels: 'manifest'
33+
dnm-labels: 'DNM'

0 commit comments

Comments
 (0)