Fixed isActive state and added isDisabled state in MenuItem Button
#352
Workflow file for this run
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: Enforce Label | |
| on: | |
| workflow_run: | |
| workflows: ["Labeler"] | |
| types: | |
| - completed | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| types: [labeled, unlabeled] | |
| jobs: | |
| enforce_label: | |
| runs-on: ubuntu-latest | |
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }} | |
| steps: | |
| - name: Enforce PR Label | |
| id: enforce_pr_labels | |
| uses: amaldinesh7/enforce-pr-labels@main | |
| with: | |
| mode: exactly | |
| count: 1 | |
| labels: "major, minor, patch" | |
| - name: Comment PR | |
| if: | | |
| always() && steps.enforce_pr_labels.outputs.message != '' | |
| uses: thollander/actions-comment-pull-request@v1 | |
| with: | |
| message: "${{steps.enforce_pr_labels.outputs.message}}" | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |