diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-07 21:39:30 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-07 21:39:30 +0100 |
commit | 534e3f06d388e85ad122594676df0abc05ac176a (patch) | |
tree | 327d4d76d5ff4e1f3ae04f0fc58d65e8c9115551 /.github/workflows/mergifyio_backport.yml | |
parent | b1d7ca98c9b5a5f16ba255c774bc543fa07b3a36 (diff) | |
download | vyatta-wanloadbalance-534e3f06d388e85ad122594676df0abc05ac176a.tar.gz vyatta-wanloadbalance-534e3f06d388e85ad122594676df0abc05ac176a.zip |
GitHub: add common actions
Diffstat (limited to '.github/workflows/mergifyio_backport.yml')
-rw-r--r-- | .github/workflows/mergifyio_backport.yml | 22 |
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 |