Skip to content
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

{CI} Add cli bot token #7237

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/VersionCalPRComment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
- name: Comment on the pull request
uses: mshick/add-pr-comment@v2
with:
repo-token: ${{ secrets.AZCLIBOT_PAT }}
message-path: |
version_update.txt
message-failure: |
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci/release_version_cal.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
base_meta_path = os.environ.get('base_meta_path', None)
diff_meta_path = os.environ.get('diff_meta_path', None)
output_file = os.environ.get('output_file', None)

changed_module_list = os.environ.get('changed_module_list', "").split()
pr_label_list = os.environ.get('pr_label_list', "").split()
pr_label_list = [name.lower() for name in pr_label_list]
Expand Down Expand Up @@ -104,6 +105,7 @@ def main():
print("pr_label_list: ", pr_label_list)
comment_message = []
if len(changed_module_list) == 0:
comment_message.append("For more info about extension versioning, please refer to [Extension version schema](https://github.com/Azure/azure-cli/blob/release/doc/extensions/versioning_guidelines.md)")
save_comment_message(cli_ext_path, output_file, comment_message)
return
next_version_pre_tag = get_next_version_pre_tag()
Expand Down
Loading