Skip to content

Commit

Permalink
ADO-sync github action changes (devtron-labs#3149)
Browse files Browse the repository at this point in the history
Co-authored-by: Rupin Solanki <[email protected]>
  • Loading branch information
rupinSec and Rupin Solanki authored Mar 21, 2023
1 parent 9afab6e commit 93aff58
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/azure-devops-issue-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
[opened, edited, deleted, closed, reopened]

jobs:
create_issue_type_bug:
if: github.event.label.name == 'bug'
create_issues:
runs-on: ubuntu-latest
steps:
- uses: danhellem/[email protected]
Expand All @@ -16,25 +15,20 @@ jobs:
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "DevtronLabs"
ado_project: "Devtron"
# ado_area_path: "optional_area_path\\optional_area_path"
# ado_iteration_path: "optional_iteration_path\\optional_iteration_path"
ado_wit: "Bug"
ado_new_state: "To Do"
ado_active_state: "Doing"
ado_close_state: "Done"
ado_bypassrules: true
log_level: 100
create_issues:
runs-on: ubuntu-latest
steps:
if: contains(github.event.issue.labels.*.name, 'bug')
with:
ado_wit: "Bug"
- uses: danhellem/[email protected]
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "DevtronLabs"
ado_project: "Devtron"
# ado_area_path: "optional_area_path\\optional_area_path"
# ado_iteration_path: "optional_iteration_path\\optional_iteration_path"
ado_wit: "Issue"
ado_new_state: "To Do"
ado_active_state: "Doing"
Expand Down

0 comments on commit 93aff58

Please sign in to comment.