This Action lets you send custom log to Azure Monitor Log Analytics workspace from a GitHub workflow.
- name: Send Log to Azure Monitor
uses: hoisjp/[email protected]
with:
workspace-id: ${{ secrets.LA_WORKSPACE_ID }}
agent-key: ${{ secrets.LA_AGENT_KEY }}
json-body: '{message: "Unit Test Finished.", youCanGiveAnyFieldName: true}'