Repository navigation
fix(commands): give option groups values only when a command lists them #172
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: ✍️ CLA | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| issue_comment: | |
| types: | |
| - created | |
| - edited | |
| - deleted | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| cla: | |
| name: CLA | |
| if: >- | |
| github.event_name == 'pull_request_target' || | |
| github.event_name == 'workflow_dispatch' || | |
| ( | |
| github.event_name == 'issue_comment' && | |
| github.event.issue.pull_request != null && | |
| github.event.comment.user.type == 'User' && | |
| ( | |
| contains(github.event.comment.body, 'I hereby sign the CLA') || | |
| ( | |
| github.event.action == 'edited' && | |
| contains(github.event.changes.body.from, 'I hereby sign the CLA') | |
| ) | |
| ) | |
| ) | |
| uses: NativeScript/.github/.github/workflows/cla.yml@master | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| actions: write |