From 4077249cc7b3e4bd8608171f8179753286167904 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 27 Aug 2024 07:28:36 -0400 Subject: [PATCH] ci: rerun issue check on PR edit Re-run issue check when a PR is updated, i.e. when someone adds 'Fixes...` to the PR body. This is mostly for release branches and has no effect on main branch. Also, add concurrency check in the workflow. Signed-off-by: Anas Nashif --- .github/workflows/backport_issue_check.yml | 8 ++++++++ scripts/ci/twister_ignore.txt | 1 + 2 files changed, 9 insertions(+) diff --git a/.github/workflows/backport_issue_check.yml b/.github/workflows/backport_issue_check.yml index 95175ecf1bb..ecaaf352827 100644 --- a/.github/workflows/backport_issue_check.yml +++ b/.github/workflows/backport_issue_check.yml @@ -2,12 +2,20 @@ name: Backport Issue Check on: pull_request_target: + types: + - edited + - opened + - reopened + - synchronize branches: - v*-branch jobs: backport: name: Backport Issue Check + concurrency: + group: backport-issue-check-${{ github.ref }} + cancel-in-progress: true runs-on: ubuntu-22.04 if: github.repository == 'zephyrproject-rtos/zephyr' diff --git a/scripts/ci/twister_ignore.txt b/scripts/ci/twister_ignore.txt index 957031a8c40..bfc2d66c49e 100644 --- a/scripts/ci/twister_ignore.txt +++ b/scripts/ci/twister_ignore.txt @@ -23,6 +23,7 @@ .github/workflows/stale-workflow-queue-cleanup.yml .github/workflows/greet_first_time_contributor.yml .github/workflows/issues-report-config.json +.github/workflows/backport_issue_check.yml CODEOWNERS MAINTAINERS.yml LICENSE