actions: add backporting bot
With new event 'pull_request_target' it is now possible to run the backporting action that we used to have in the past as a Github app. Use labels for backporting as before. See https://github.com/tibdex/backport for more details. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
bbcda199bf
commit
bc8832f6c8
1 changed files with 16 additions and 0 deletions
16
.github/workflows/backport.yml
vendored
Normal file
16
.github/workflows/backport.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Backport
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
backport:
|
||||
runs-on: ubuntu-18.04
|
||||
name: Backport
|
||||
steps:
|
||||
- name: Backport
|
||||
uses: zephyrproject-rtos/action-backport@v1.1.99
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue