tests: Check received prefixes before immediately sending dynamic capabilities #18537
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |