chore: small-fix accoriding to the syncing up to the master branch
#2
This file contains hidden or 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: Manage PR | |
| on: | |
| - pull_request_target | |
| jobs: | |
| labeler: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout master | |
| uses: actions/checkout@v4 | |
| with: | |
| path: master | |
| - name: Checkout merge commit | |
| uses: actions/checkout@v4 | |
| with: | |
| path: merge | |
| ref: "refs/pull/${{ github.event.number }}/merge" | |
| - name: Generate label config | |
| run: cd master && SCAN_DIR=../merge ./contrib/gen_label_config.sh | |
| - name: Update labels | |
| uses: actions/labeler@v5 | |
| with: | |
| configuration-path: master/.github/labeler.yml | |
| sync-labels: true |