Skip to content

Commit

Permalink
test a7 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 11, 2024
1 parent e6c2141 commit 62dd416
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_rc_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AGENT6_RELEASE_BRANCH: '6.53.x'
# IS_AGENT6_RELEASE: ${{ github.event.schedule == '0 9 * * 1' }}
IS_AGENT6_RELEASE: "true"
IS_AGENT6_RELEASE: "false"
permissions: {}

jobs:
Expand Down
16 changes: 8 additions & 8 deletions tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,14 +529,14 @@ def create_rc(ctx, release_branch, patch_version=False, upstream="origin", slack
)

# Step 4 - If slack workflow webhook is provided, send a slack message
if slack_webhook:
print(color_message("Sending slack notification", "bold"))
payload = {
"pr_url": pr_url,
"version": str(new_highest_version),
}

ctx.run(f"curl -X POST -H 'Content-Type: application/json' --data '{json.dumps(payload)}' {slack_webhook}")
# if slack_webhook:
# print(color_message("Sending slack notification", "bold"))
# payload = {
# "pr_url": pr_url,
# "version": str(new_highest_version),
# }

# ctx.run(f"curl -X POST -H 'Content-Type: application/json' --data '{json.dumps(payload)}' {slack_webhook}")


@task
Expand Down

0 comments on commit 62dd416

Please sign in to comment.