-
Notifications
You must be signed in to change notification settings - Fork 7
Fix: [AEA-0000] - move create release notes to github action #3668
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: master
Are you sure you want to change the base?
Conversation
bencegadanyi1-nhs
left a comment
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.
do we still need the azure/template files or can we delete them?
| # call create release notes | ||
| - bash: | | ||
| export NOTIFY_GITHUB_REPOSITORY=$(NOTIFY_GITHUB_REPOSITORY) | ||
| export BRANCH_NAME=$(Build.SourceBranchName) | ||
| if [ "${BRANCH_NAME}" = "merge" ]; then | ||
| export BRANCH_NAME=$(echo "$(System.PullRequest.SourceBranch)" | awk -F/ '{print $NF}') | ||
| fi | ||
| if [[ -z ${NOTIFY_GITHUB_REPOSITORY} ]]; then | ||
| export NOTIFY_GITHUB_REPOSITORY=$(Build.Repository.Name) | ||
| fi | ||
| cat <<EOF > payload.json | ||
| { | ||
| "ref": "${BRANCH_NAME}" | ||
| } | ||
| EOF | ||
| echo "##[debug] Hitting https://api.github.com/repos/${NOTIFY_GITHUB_REPOSITORY}/actions/workflows/create_int_release_notes.yml/dispatches" | ||
| cat payload.json | ||
| curl --fail -q -X POST "https://api.github.com/repos/${NOTIFY_GITHUB_REPOSITORY}/actions/workflows/create_int_release_notes.yml/dispatches" -d "@./payload.json" --user $(GITHUB_USER):$(GITHUB_ACCESS_TOKEN) | ||
| echo "##[debug] Hitting https://api.github.com/repos/${NOTIFY_GITHUB_REPOSITORY}/actions/workflows/create_prod_release_notes.yml/dispatches" | ||
| curl --fail -q -X POST "https://api.github.com/repos/${NOTIFY_GITHUB_REPOSITORY}/actions/workflows/create_prod_release_notes.yml/dispatches" -d "@./payload.json" --user $(GITHUB_USER):$(GITHUB_ACCESS_TOKEN) | ||
| displayName: Create release notes post dev |
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.
question: can we not just delete these azure template files completely at this stage if we are already deleting the functionalities?
|



Summary
Details