同步上去代码 #2
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: Add base branch label | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
jobs: | |
label: | |
if: github.repository == 'frrouting/frr' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
labels: | | |
${{ github.event.pull_request.base.ref }} |