proof-of-space v2 support #27358
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: 🚨 Check PR Labels | |
| on: | |
| pull_request: | |
| types: [opened, labeled, unlabeled, synchronize] | |
| jobs: | |
| check-labels: | |
| if: github.repository_owner == 'Chia-Network' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write | |
| pull-requests: read | |
| statuses: write | |
| outputs: | |
| status: ${{ steps.check-labels.outputs.status }} | |
| steps: | |
| - id: check-labels | |
| uses: mheap/github-action-required-labels@v5 | |
| with: | |
| mode: exactly | |
| count: 1 | |
| labels: "Added, Changed, Fixed, dependencies" | |
| exit_type: success | |
| - run: echo SUCCESS | |
| if: steps.check-labels.outputs.status == 'success' | |
| - run: echo FAILURE && exit 1 | |
| if: steps.check-labels.outputs.status == 'failure' |