Skip to content

Commit

Permalink
ci: rerun issue check on PR edit
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nashif committed Aug 27, 2024
1 parent b7bf209 commit 4077249
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/backport_issue_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
1 change: 1 addition & 0 deletions scripts/ci/twister_ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4077249

Please sign in to comment.