[CoE Starter Kit - BUG] Updating CoE Starter Kit Failed with connectionreference(1ac96c28-e3f0-4348-8fc2-09e113d1c1be) component cannot be deleted because it is referenced by 17 other components #15084
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: Auto Assign Issues to Projects | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
- closed | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- review_requested | |
- closed | |
# map fields with customized labels | |
env: | |
todo: Todo ✏️ | |
done: Done ✅ | |
in_progress: In Progress 🚧 | |
jobs: | |
issue_opened_or_reopened: | |
name: issue_opened_or_reopened | |
runs-on: ubuntu-latest | |
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'reopened') | |
steps: | |
- name: Move issue to ALM Accelerator ${{ env.todo }} | |
uses: leonsteinhaeuser/[email protected] | |
if: contains(github.event.issue.labels.*.name, 'alm-accelerator') | |
with: | |
gh_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
organization: microsoft | |
project_id: 233 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.todo }} # Target status | |
- name: Move issue to CoE Starter Kit ${{ env.todo }} | |
uses: leonsteinhaeuser/[email protected] | |
if: contains(github.event.issue.labels.*.name, 'coe-starter-kit') | |
with: | |
gh_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
organization: microsoft | |
project_id: 195 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.todo }} # Target status | |
issue_closed: | |
name: issue_closed | |
runs-on: ubuntu-latest | |
if: github.event_name == 'issues' && github.event.action == 'closed' | |
steps: | |
- name: Moved issue to ALM Accelerator ${{ env.done }} | |
uses: leonsteinhaeuser/[email protected] | |
if: contains(github.event.issue.labels.*.name, 'alm-accelerator') | |
with: | |
gh_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
organization: microsoft | |
project_id: 233 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.done }} # Target status | |
- name: Moved issue to Coe Starter Kit ${{ env.done }} | |
uses: leonsteinhaeuser/[email protected] | |
if: contains(github.event.issue.labels.*.name, 'coe-starter-kit') | |
with: | |
gh_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
organization: microsoft | |
project_id: 195 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
status_value: ${{ env.done }} # Target status |