Skip to content

Commit 18489ea

Browse files
committed
handle areas
Signed-off-by: Anas Nashif <[email protected]>
1 parent 1a92761 commit 18489ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/assigner-workflow.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.ZB_PR_ASSIGNER_GITHUB_TOKEN }}
7676
run: |
77-
cat ./pr/manifest_areas.json
77+
if [ -f "./pr/manifest_areas.json" ]; then
78+
ARGS-"--areas ./pr/manifest_areas.json"
79+
else
80+
ARGS=""
81+
fi
7882
python3 scripts/set_assignees.py -P ${{ env.PR_NUM }} -M MAINTAINERS.yml -v \
79-
--repo ${{ github.event.repository.name }}
83+
--repo ${{ github.event.repository.name }} ${ARGS}

0 commit comments

Comments
 (0)