1
0
Fork 0
frr/.github/workflows/mergifyio_backport.yml
Daniel Baumann 3124f89aed
Adding upstream version 10.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 10:03:58 +01:00

22 lines
580 B
YAML

name: Mergifyio backport
on: [issue_comment]
jobs:
mergifyio_backport:
if: github.repository == 'frrouting/frr'
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