From ec3602569e07073ced0034b5a5f169d319882751 Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Fri, 6 Sep 2024 20:21:58 -0400 Subject: [PATCH] Add Backport Usage --- .github/workflows/backport.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 000000000..186c84a87 --- /dev/null +++ b/.github/workflows/backport.yml @@ -0,0 +1,22 @@ +name: Backport PR to branch +on: + issue_comment: + types: [created] + +permissions: + contents: write + issues: write + pull-requests: write + actions: write + +jobs: + backport: + # My Draft PR: + uses: bitwarden/gh-actions/.github/workflows/backport-base.yml@d0b8f4e649e45f844ee63787bba39a51ed6c9ff2 + with: + pr_description_template: | + Backport of #%source_pr_number% to %target_branch% + + /cc %cc_users% + + # %source_pr_title%