Skip to content

Commit

Permalink
Update sync-agent-version-to-main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad-ohms authored Aug 26, 2024
1 parent be68073 commit 65bb89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-agent-version-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
git push origin -f promote-test-to-main
UPDATED_VERSION=$(cat instana/com.instana.agent.bootstrap.AgentBootstrap.cfg | grep "version = " | grep -v "#" | cut -c11-)
PR_TITLE="chore(deps): Update Instana Agent Production to v${UPDATED_VERSION}"
PR_BODY="Automated sync of instana/com.instana.agent.bootstrap.AgentBootstrap.cfg from branch \"test\" to \"main\". Make sure that the test environment works as expected before approving and merging the change. Merging will trigger an production update including an agent restart. \nThis update was driven by [this GitHub Action Workflow](https://github.com/konrad-ohms/instana-agent-gitops-config/blob/test/.github/workflows/sync-agent-version-to-main.yml)"
PR_BODY="Automated sync of instana/com.instana.agent.bootstrap.AgentBootstrap.cfg from branch \"test\" to \"main\". Make sure that the test environment works as expected before approving and merging the change. Merging will trigger an production update including an agent restart. This update was driven by [this GitHub Action Workflow](https://github.com/konrad-ohms/instana-agent-gitops-config/blob/test/.github/workflows/sync-agent-version-to-main.yml)."
gh pr create -B main --title "${PR_TITLE}" --body "${PR_BODY}" || \
gh pr edit -B main --title "${PR_TITLE}" --body "${PR_BODY}"

0 comments on commit 65bb89d

Please sign in to comment.