-
Notifications
You must be signed in to change notification settings - Fork 0
adjust help message #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
6722f21
8ffc225
76bf1cc
45e1aa4
35b0492
edefdbf
8199ad1
bd9588c
7d53ce1
d129568
b207c87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: Copilot Review | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, labeled, unlabeled] | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| copilot-code-review: | ||
| if: ${{ contains(github.event.pull_request.labels.*.name, 'copilot-code-review') }} | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
| contents: read | ||
| steps: | ||
| - name: Check Init Event | ||
| env: | ||
| action: ${{ toJSON(github.event.action) }} | ||
| label: ${{ toJSON(github.event.label) }} | ||
| run: | | ||
| echo start review module | ||
| - name: Copilot PR Review | ||
| uses: AllyW/[email protected] | ||
| with: | ||
| APIKEY: ${{ secrets.APIKEY }} | ||
| ENDPOINT: ${{ secrets.ENDPOINT }} | ||
| AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PR_EVENT: ${{ toJSON(github.event) }} | ||
| code_suggest: True | ||
| pr_summary: True | ||
| pr_reset: True |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,9 +22,9 @@ def load_arguments(self, _): # pylint: disable=unused-argument | |
| c.argument('resource_uri', options_list=['--resource', '--resource-uri'], | ||
| help='The identifier of the resource.') | ||
| c.argument('association_name', options_list=['--name', '-n'], help='The name of the association.') | ||
| c.argument('description', help='Description of the association.') | ||
| c.argument('description', help='Description of the association.For more message, please check: https:learn.microsoft.com/en-us/cli/azure/monitor/data-collection/endpoint/association?view=azure-cli-latest#az-monitor-data-collection-endpoint-association-list') | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔎
|
||
| c.argument('rule_id', help='The resource ID of the data collection rule that is to be associated.') | ||
| c.argument('endpoint_id', help='The resource ID of the data collection endpoint that is to be associated.', | ||
| c.argument('endpoint_id', help='The resource ID of the data collection endpoint that is to be associated. Format like <resource/monitor/endpoint_id>', | ||
| validator=validate_association_name_with_endpoint) | ||
| c.argument('data_collection_rule_name', options_list=['--rule-name', '--data-collection-rule-name']) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔎
Nothing to return.