From f0c6e592a84b1296bb3bb1907e46529d73a86d17 Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 9 Sep 2024 13:27:08 +0200 Subject: [PATCH] Update pull-maintainers-from-database-and-make-a-pr.yml --- ...ull-maintainers-from-database-and-make-a-pr.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-maintainers-from-database-and-make-a-pr.yml b/.github/workflows/pull-maintainers-from-database-and-make-a-pr.yml index fb96bd17..cbea5f13 100644 --- a/.github/workflows/pull-maintainers-from-database-and-make-a-pr.yml +++ b/.github/workflows/pull-maintainers-from-database-and-make-a-pr.yml @@ -80,7 +80,7 @@ jobs: done } >> "$GITHUB_STEP_SUMMARY" - - name: Mark csc for no maintainer + - name: Move to CSC where we don't have a maintainer anymore run: | grep BOARD_MAINTAINER=\"\" config/boards/*.{wip,conf} | cut -d":" -f1 | while read -r line; do @@ -92,6 +92,18 @@ jobs: fi done + - name: Move to WIP if there is a maintainer declared in CSC or EOS + run: | + grep BOARD_MAINTAINER= config/boards/*.{csc,eos} | grep -v '=""' | cut -d":" -f1 | + while read -r line; do + if [[ "${line}" != "${line/.eos/.wip}" ]]; then + echo "mv -v "$line" "${line/.eos/.wip}"" + fi + if [[ "${line}" != "${line/.csc/.wip}" ]]; then + echo "mv -v "$line" "${line/.csc/.wip}"" + fi + done + - name: Re-generate CODEOWNERS run: | ./.github/generate_CODEOWNERS.sh