Solution "Center of Excellence - Core Components" failed to import: ImportAsHolding failed with exception :The connectionreference(GUID) component cannot be deleted because it is referenced by 17 other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest. #14576
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/project-beta-automations@v2.1.0 | |
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/project-beta-automations@v2.1.0 | |
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/project-beta-automations@v2.1.0 | |
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/project-beta-automations@v2.1.0 | |
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 |