Skip to content

Commit bf6df10

Browse files
committed
actions: manifest: Align with upstream Zephyr
The manifest action now has many more features at version 1.5.0. Update to the latest and start using a tree checkout to diff the manifest, which is compatible with split manifests. Signed-off-by: Carles Cufi <[email protected]>
1 parent 155fd87 commit bf6df10

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/manifest.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
name: Manifest
2-
3-
on:
4-
pull_request_target:
2+
on: pull_request_target
53

64
permissions:
75
contents: read
86
pull-requests: write
97

108
jobs:
11-
contribs:
9+
manifest:
1210
runs-on: ubuntu-latest
1311
name: Manifest
1412
steps:
@@ -20,19 +18,25 @@ jobs:
2018
fetch-depth: 0
2119
persist-credentials: false
2220

21+
- name: west setup
22+
env:
23+
BASE_REF: ${{ github.base_ref }}
24+
working-directory: ncs/nrf
25+
run: |
26+
pip3 install west
27+
git config --global user.email "[email protected]"
28+
git config --global user.name "Your Name"
29+
west init -l . || true
30+
2331
- name: Manifest
24-
uses: zephyrproject-rtos/action-manifest@16c4cfa380ae2b6fa3daddb1a35032e69422a20f
32+
uses: zephyrproject-rtos/action-manifest@v1.5.0
2533
with:
2634
github-token: ${{ secrets.NCS_GITHUB_TOKEN }}
2735
manifest-path: 'west.yml'
2836
checkout-path: 'ncs/nrf'
37+
use-tree-checkout: 'true'
38+
check-impostor-commits: 'true'
2939
label-prefix: 'manifest-'
3040
verbosity-level: '1'
31-
32-
# Add one label per line. 'manifest' always adds the label 'manifest'.
33-
# 'CI-all-test:zephyr;nrfxlib,' adds the 'CI-all-test' label when the
34-
# zephyr module or the nrfxlib module is changed. Each line is comma-
35-
# separated.
36-
labels: >
37-
manifest
41+
labels: 'manifest'
3842
dnm-labels: 'DNM'

0 commit comments

Comments
 (0)