1name: Manifest
2on:
3  pull_request_target:
4
5jobs:
6  contribs:
7    runs-on: ubuntu-22.04
8    name: Manifest
9    steps:
10      - name: Checkout the code
11        uses: actions/checkout@v4
12        with:
13          path: zephyrproject/zephyr
14          ref: ${{ github.event.pull_request.head.sha }}
15          fetch-depth: 0
16          persist-credentials: false
17
18      - name: west setup
19        env:
20          BASE_REF: ${{ github.base_ref }}
21        working-directory: zephyrproject/zephyr
22        run: |
23          pip install west
24          git config --global user.email "you@example.com"
25          git config --global user.name "Your Name"
26          west init -l . || true
27
28      - name: Manifest
29        uses: zephyrproject-rtos/action-manifest@v1.7.0
30        with:
31          github-token: ${{ secrets.ZB_GITHUB_TOKEN }}
32          manifest-path: 'west.yml'
33          checkout-path: 'zephyrproject/zephyr'
34          use-tree-checkout: 'true'
35          check-impostor-commits: 'true'
36          label-prefix: 'manifest-'
37          verbosity-level: '1'
38          labels: 'manifest'
39          dnm-labels: 'DNM'
40