Skip to content

[Automation Kit - Feature]: Control Center Monitoring Alert #78

[Automation Kit - Feature]: Control Center Monitoring Alert

[Automation Kit - Feature]: Control Center Monitoring Alert #78

name: Sync issue to Azure DevOps work item
on:
issues:
types:
[opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]
issue_comment:
types: [created, edited, deleted]
concurrency:
group: issue-${{ github.event.issue.number }}
cancel-in-progress: false
jobs:
alertEnhancementAK:
if: |
contains(github.event.issue.labels.*.name, 'enhancement')
runs-on: ubuntu-latest
steps:
- uses: danhellem/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "cattools"
ado_project: "OneCatTools"
ado_area_path: "OneCatTools\\AutomationKit\\Develop"
ado_iteration_path: "OneCatTools\\FY24\\Q2\\October"
ado_wit: "User Story"
ado_new_state: "New"
ado_active_state: "Active"
ado_close_state: "Resolved"
ado_bypassrules: true
log_level: 100
alertIssueAK:
if: |
contains(github.event.issue.labels.*.name, 'bug')
runs-on: ubuntu-latest
steps:
- uses: danhellem/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "cattools"
ado_project: "OneCatTools"
ado_area_path: "OneCatTools\\AutomationKit\\Develop"
ado_iteration_path: "OneCatTools\\FY24\\Q2\\October"
ado_wit: "Bug"
ado_new_state: "New"
ado_active_state: "Active"
ado_close_state: "Resolved"
ado_bypassrules: true
log_level: 100
alertQuestionAK:
if: |
contains(github.event.issue.labels.*.name, 'question')
runs-on: ubuntu-latest
steps:
- uses: danhellem/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "cattools"
ado_project: "OneCatTools"
ado_area_path: "OneCatTools\\AutomationKit\\Develop"
ado_iteration_path: "OneCatTools\\FY24\\Q2\\October"
ado_wit: "Question"
ado_new_state: "New"
ado_active_state: "Active"
ado_close_state: "Closed"
ado_bypassrules: true
log_level: 100