name: Update work item state when PR is merged, opened, closed or when branch is created
on:
pull_request:
branches: [main]
types: [opened, closed, edited]
push:
branches: [main]
jobs:
alert:
runs-on: ubuntu-latest
name: Test workflow
steps:
- uses: RezaNum1/pr-update-work-item-state@main
env:
gh_token : '${{ secrets.GH_TOKEN }}'
ado_token: '${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}'
ado_organization: '${{ secrets.ADO_ORGANIZATION }}'
ado_project: '${{ secrets.ADO_PROJECT }}'
closedstate: 'Done'
propenstate: 'Ready'
inprogressstate: 'In Progress'
ghrepo_owner: 'RezaNum1'
ghrepo: 'X-Microservice'
pull_number: ${{github.event.number}}
branch_name: ${{ github.ref }}
-
Notifications
You must be signed in to change notification settings - Fork 1
License
RezaNum1/pr-update-work-item-state
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Code of conduct
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published