From bc8832f6c8792a541e3000fc42a914955beaf989 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 9 Sep 2020 08:59:15 -0400 Subject: [PATCH] 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 --- .github/workflows/backport.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/backport.yml diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml new file mode 100644 index 00000000000..92f08d21103 --- /dev/null +++ b/.github/workflows/backport.yml @@ -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 }}