[Compute] az vm disk attach: Add new parameter --new-names-of-source-snapshots-or-disks to support setting the name of create new disk from a snapshot or another disk
#2883
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
| on: | |
| pull_request_target: | |
| types: [opened] | |
| branches: | |
| - dev | |
| - release | |
| permissions: {} | |
| jobs: | |
| thank-user: | |
| runs-on: ubuntu-latest | |
| name: Say thanks for the PR | |
| steps: | |
| - name: Comment on PR | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| REPO: ${{ github.repository }} | |
| REPO_TOKEN: ${{ secrets.CLI_BOT }} | |
| run: | | |
| message='Thank you for your contribution! We will review the pull request and get back to you soon.' | |
| # Comment on the PR using GitHub API | |
| curl -X POST \ | |
| -H "Authorization: token $REPO_TOKEN" \ | |
| -H "Accept: application/vnd.github.v3+json" \ | |
| https://api.github.com/repos/$REPO/issues/$PR_NUMBER/comments \ | |
| -d "{\"body\": \"$message\"}" |