summaryrefslogtreecommitdiff
path: root/.github/workflows/mergifyio_backport.yml
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-07 21:39:30 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-07 21:41:04 +0100
commiteaced4c7ed213942c19b31dcd8c3a62cbb2c818a (patch)
tree2fd9051fff70c53ac1046291d9735f4bde09d8a2 /.github/workflows/mergifyio_backport.yml
parentc7708bc6ef689f5744272a15a601a56a03890afa (diff)
downloadvyatta-wanloadbalance-1.3.7.tar.gz
vyatta-wanloadbalance-1.3.7.zip
GitHub: add common actions1.3.81.3.71.3.6equuleus
(cherry picked from commit 534e3f06d388e85ad122594676df0abc05ac176a)
Diffstat (limited to '.github/workflows/mergifyio_backport.yml')
-rw-r--r--.github/workflows/mergifyio_backport.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/mergifyio_backport.yml b/.github/workflows/mergifyio_backport.yml
new file mode 100644
index 0000000..511b26c
--- /dev/null
+++ b/.github/workflows/mergifyio_backport.yml
@@ -0,0 +1,22 @@
+name: Mergifyio backport
+
+on: [issue_comment]
+
+jobs:
+ mergifyio_backport:
+ if: github.repository == 'vyos/vyatta-wanloadbalance'
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: actions-ecosystem/action-regex-match@v2
+ id: regex-match
+ with:
+ text: ${{ github.event.comment.body }}
+ regex: '[Mm]ergifyio backport '
+
+ - uses: actions-ecosystem/action-add-labels@v1
+ if: ${{ steps.regex-match.outputs.match != '' }}
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ labels: backport