This commit is contained in:
Pavel Horak 2021-02-01 11:34:32 +01:00 коммит произвёл GitHub
Родитель 7de14c4045
Коммит 948113d4c9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 25 добавлений и 0 удалений

25
.github/workflows/AzureDevOps.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,25 @@
name: Sync issue to Azure DevOps work item
on:
issues:
types:
[labeled] #, opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned
jobs:
updateAzDO:
if: github.event.label.name == 'sprint'
runs-on: ubuntu-latest
steps:
- uses: pavelhorak/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "${{ secrets.ADO_ORGANIZATION }}"
ado_project: "${{ secrets.ADO_PROJECT }}"
ado_area_path: "${{ secrets.ADO_AREA_PATH }}"
ado_iteration_path: "${{ secrets.ADO_ITERATION_PATH }}" # this doesn't work: "@CurrentIteration('[DevDiv]\\.NET DevExp Prague')"
ado_wit: "User Story"
ado_new_state: "Committed"
ado_active_state: "In Progress"
ado_close_state: "Completed"
ado_bypassrules: false