Feature: Support for native nodes in buildX #3346
This file contains 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 (testing) | |
on: | |
issues: | |
types: | |
[opened, edited, deleted, closed, reopened, labeled] | |
jobs: | |
create_issues: | |
runs-on: ubuntu-latest | |
steps: | |
- if: contains(github.event.issue.labels.*.name, 'bug') | |
uses: danhellem/github-actions-issue-to-work-item@v2.1 | |
env: | |
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}" | |
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" | |
ado_organization: "DevtronLabs" | |
ado_project: "Devtron" | |
ado_wit: "Bug" | |
ado_new_state: "To Do" | |
ado_active_state: "Doing" | |
ado_close_state: "Done" | |
ado_bypassrules: true | |
log_level: 100 | |
- if: "!contains(github.event.issue.labels.*.name, 'bug')" | |
uses: danhellem/github-actions-issue-to-work-item@v2.1 | |
env: | |
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}" | |
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" | |
ado_organization: "DevtronLabs" | |
ado_project: "Devtron" | |
ado_wit: "User Story" | |
ado_new_state: "To Do" | |
ado_active_state: "Doing" | |
ado_close_state: "Done" | |
ado_bypassrules: true | |
log_level: 100 | |
- if: github.event.label.name == 'pager-duty' | |
name: custom issues | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.GH_ISSUES_DISCORD_WEBHOOK }} | |
DISCORD_WEBHOOK_FORUM: ${{ secrets.PAGERDUTY_DISCORD_WEBHOOK }} | |
ENABLE_FORUM: true | |
uses: devtron-labs/action-discord@master | |
with: | |
args: " ${{ github.event.issue.title }} ${{ github.event.issue.html_url }}" |