add_di_chan and add_do_chan ignore name_to_assign_to_lines for returned channel object with CHAN_FOR_ALL_LINES #345
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync issue to Azure DevOps work item | |
| on: | |
| issues: | |
| # Omit "labeled" and "unlabeled" to work around https://github.com/danhellem/github-actions-issue-to-work-item/issues/70 | |
| types: | |
| [opened, edited, deleted, closed, reopened, assigned] | |
| issue_comment: | |
| types: [created, edited, deleted] | |
| jobs: | |
| alert: | |
| if: ${{ !github.event.issue.pull_request && github.event.issue.title != 'Dependency Dashboard' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Choose work item type | |
| id: choose_work_item_type | |
| run: | | |
| if [ "${{ contains(github.event.issue.labels.*.name, 'enhancement') || contains(github.event.issue.labels.*.name, 'user story') }}" == "true" ]; then | |
| echo "work_item_type=User Story" >> $GITHUB_OUTPUT | |
| elif [ "${{ contains(github.event.issue.labels.*.name, 'tech debt') }}" == "true" ]; then | |
| echo "work_item_type=Technical Debt" >> $GITHUB_OUTPUT | |
| else | |
| echo "work_item_type=Bug" >> $GITHUB_OUTPUT | |
| fi | |
| - uses: danhellem/github-actions-issue-to-work-item@45eb3b46e684f2acd2954f02ef70350c835ee4bb # v2.4 | |
| env: | |
| ado_token: "${{ secrets.AZDO_WORK_ITEM_TOKEN }}" | |
| github_token: "${{ secrets.GH_REPO_TOKEN }}" | |
| ado_organization: "ni" | |
| ado_project: "DevCentral" | |
| ado_area_path: "DevCentral\\Product RnD\\Platform HW and SW\\Core SW and Drivers\\Platform HW and Drivers\\Drivers\\Venus" | |
| ado_wit: "${{ steps.choose_work_item_type.outputs.work_item_type }}" | |
| ado_new_state: "New" | |
| ado_active_state: "Active" | |
| ado_close_state: "Closed" | |
| ado_bypassrules: true | |
| log_level: 100 |