This custom action supports to push entire Github workflow logs into the Azure Log Analytics.
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run action
uses: choreo-templates/azure-logs-workflow-action@v1
with:
shared-key: <<Use either the primary or the secondary Connected Sources client authentication key>>
azure-customer-id: <<Customer ID to your Log Analytics workspace ID>>
github-token: <<Github PAT>>
component-id: <<Choreo component Id>>
run-id: <<Run ID of the workflow>>
repo: <<Value of $GITHUB_REPOSITORY>>
sha: <<Commit sha>>
Input | Description |
---|---|
shared-key (required) |
mandatory input |
azure-customer-id (required) |
mandatory input |
github-token (required) |
mandatory input |
component-id (required) |
mandatory input |
run-id (required) |
mandatory input |
repo (required) |
mandatory input |
sha (required) |
mandatory input |