Skip to content

Commit

Permalink
github: workflows: Add manifest workflow
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jhedberg committed Oct 30, 2024
1 parent d9d482e commit 5914a14
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Manifest
on:
pull_request_target:

permissions:
contents: read
pull-requests: write

jobs:
contribs:
runs-on: ubuntu-22.04
name: Manifest
steps:
- name: Checkout the code
uses: actions/checkout@v4
with:
path: silabs/zephyr-silabs
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false

- name: Manifest
uses: zephyrproject-rtos/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
manifest-path: 'west.yml'
checkout-path: 'silabs/zephyr-silabs'
use-tree-checkout: 'true'
check-impostor-commits: 'true'
label-prefix: 'manifest-'
verbosity-level: '1'
labels: 'manifest'
dnm-labels: 'DNM'

0 comments on commit 5914a14

Please sign in to comment.