-
Notifications
You must be signed in to change notification settings - Fork 188
github: Add issue templates and GitHub->AzDO issue syncing #686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
bkeryan
merged 2 commits into
master
from
users/bkeryan/github-issue-templates-and-syncing
Mar 27, 2025
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| name: Bug report | ||
| about: Create a report to help us improve | ||
| title: '' | ||
| labels: 'bug,triage' | ||
| --- | ||
|
|
||
| <!--- | ||
| Thanks for filing an issue! Before you submit, please read the following: | ||
|
|
||
| Search open/closed issues before submitting. Someone may have reported the same issue before. | ||
| --> | ||
|
|
||
| # Bug Report | ||
|
|
||
| <!--- Provide a general summary of the issue here --> | ||
|
|
||
| ## Repro or Code Sample | ||
|
|
||
| <!-- Please provide steps to reproduce the issue and/or a code repository, gist, code snippet or sample files --> | ||
|
|
||
| ## Expected Behavior | ||
|
|
||
| <!--- Tell us what should happen --> | ||
|
|
||
| ## Current Behavior | ||
|
|
||
| <!--- Tell us what happens instead of the expected behavior --> | ||
| <!--- If you are seeing an error, please include the full error message and stack trace --> | ||
| <!--- If applicable, provide screenshots --> | ||
|
|
||
| ## Possible Solution | ||
|
|
||
| <!--- Not obligatory, but suggest a fix/reason for the bug --> | ||
| <!--- Please let us know if you'd be willing to contribute the fix; we'd be happy to work with you --> | ||
|
|
||
| ## Context | ||
|
|
||
| <!--- How has this issue affected you? What are you trying to accomplish? --> | ||
| <!--- Providing context helps us come up with a solution that is most useful in the real world --> | ||
|
|
||
| ## Your Environment | ||
|
|
||
| <!--- Include as many relevant details as possible about the environment you experienced the bug in --> | ||
|
|
||
| * Operating system and version: [e.g. Windows 11 24H2, Ubuntu Linux 24.04] | ||
| * NI-DAQmx version: [e.g. 2024 Q4] | ||
| * `nidaqmx-python` version: [e.g. 1.0.1] | ||
| * Python version [e.g. 3.9] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| name: Feature request | ||
| about: Suggest an idea for this project | ||
| title: '' | ||
| labels: 'enhancement,triage' | ||
| --- | ||
|
|
||
| <!--- | ||
| Thanks for filing an issue! Before you submit, please read the following: | ||
|
|
||
| Search open/closed issues before submitting. Someone may have requested the same feature before. | ||
| --> | ||
|
|
||
| ## Problem to Solve | ||
|
|
||
| <!--- Provide a clear and concise description of why this feature is wanted or what problem it solves. --> | ||
|
|
||
| ## Proposed Solution | ||
|
|
||
| <!--- Provide a clear and concise description of the feature you're proposing. --> | ||
|
|
||
| <!--- The implementing team may build a list of tasks/sub-issues here: | ||
| ## Tasks | ||
| - [ ] This is a subtask of the feature. (It can be converted to an issue.) | ||
| --> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| name: Tech debt | ||
| about: (DEV TEAM ONLY) Non-user-visible improvement to code or development process | ||
| title: '' | ||
| labels: 'tech debt,triage' | ||
| --- | ||
| ## Tech Debt |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| name: User story | ||
| about: (DEV TEAM ONLY) A small chunk of work to be done | ||
| title: '(Fully descriptive title)' | ||
| labels: 'user story,triage' | ||
| --- | ||
|
|
||
| <!-- Ensure the title can be understood without the parent item's context, e.g. "nimble-button Angular wrapper" rather than just "Angular wrapper" --> | ||
|
|
||
| ## User Story |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| 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/[email protected] | ||
| 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" | ||
zhindes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 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 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.