Skip to content

Refactor code to remove GitHub Token #526

Refactor code to remove GitHub Token

Refactor code to remove GitHub Token #526

Workflow file for this run

name: Sync Issue to Azure DevOps work item
on:
issues:
types: [opened, edited, deleted, closed, reopened, labeled, unlabeled]
issue_comment:
types: [created, edited, deleted]
jobs:
alert:
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-latest
name: Testing workflow
steps:
- uses: danhellem/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_wit: 'Bug'
ado_new_state: 'New'
ado_close_state: 'Closed'
ado_active_state: 'Active'
ado_bypassrules: true
log_level: 100