CLOUD-727: Bump sigs.k8s.io/mcs-api from 0.3.0 to 0.4.0 #1906
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: "PR Labeler" | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: "Label PR" | |
| uses: actions/labeler@v6 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| sync-labels: true | |
| label-community: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Check if PR is from a fork" | |
| if: github.event.pull_request.head.repo.fork == true | |
| run: | | |
| gh pr edit ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --add-label "community" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |