diff --git a/.github/workflows/moving-cards.yml b/.github/workflows/moving-cards.yml index 3daa514fa5df..f35e71d345a5 100644 --- a/.github/workflows/moving-cards.yml +++ b/.github/workflows/moving-cards.yml @@ -128,12 +128,15 @@ jobs: with: path: .github/workflows/ - name: Assign to a person to work on it - # Assign when there is nobody assigned or the card is new - if: ${{ github.event.project_card.column_id != env.SOLVED_COLUMN_ID && (needs.get-issue.outputs.assignees == '[]' || github.event.action == 'created') }} + # Assign when there is nobody assigned or the card is new. + # Cards in Build Maintenance column will remain unassigned. + if: | + github.event.project_card.column_id != env.SOLVED_COLUMN_ID && github.event.project_card.column_id != env.BUILD_MAINTENANCE_COLUMN_ID && + (needs.get-issue.outputs.assignees == '[]' || github.event.action == 'created') uses: pozil/auto-assign-issue@v1.11.0 with: numOfAssignee: 1 - teams: ${{ github.event.project_card.column_id == env.BITNAMI_COLUMN_ID && env.SUPPORT_TEAM_NAME || (github.event.project_card.column_id == env.BUILD_MAINTENANCE_COLUMN_ID && env.BUILD_MAINTAINERS_TEAM_NAME || env.TRIAGE_TEAM_NAME) }} + teams: ${{ github.event.project_card.column_id == env.BITNAMI_COLUMN_ID && env.SUPPORT_TEAM_NAME || env.TRIAGE_TEAM_NAME }} repo-token: ${{ secrets.BITNAMI_BOT_TOKEN }} allowSelfAssign: false - name: Reassign when moved into 'In progress' from 'Triage'