Skip to content

Commit

Permalink
Update backport action (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
gspowley authored Apr 10, 2024
1 parent b227def commit 68b8f1c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,20 @@ on:

jobs:
backport:
runs-on: ubuntu-22.04
name: Backport
runs-on: ubuntu-22.04
if: >
github.event.pull_request.merged &&
(
github.event.action == 'closed' ||
(
github.event.action == 'labeled' &&
contains(github.event.label.name, 'backport')
)
)
steps:
- name: Backport
uses: tibdex/backport@v1
uses: zephyrproject-rtos/action-backport@7e74f601d11eaca577742445e87775b5651a965f #tag=v2.0.3-3
with:
issue_labels: Backport
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 68b8f1c

Please sign in to comment.