From 75214c24a3c47f5a71befb87e1bddc73094fb87f Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Wed, 26 Oct 2022 12:19:15 +0200 Subject: [PATCH] Add backport action Allows for easy backporting of pull requests. Simply just tag a pull request with e.g. `backport 1.2` to create a backport PR against the `1.2` branch. For more info, see https://github.com/m-kuhn/backport --- .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 0000000..906f9cd --- /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: m-kuhn/backport@v1.2.7 + with: + github_token: ${{ secrets.GITHUB_TOKEN }}