Skip to content

Commit

Permalink
[bitnami/chvm Avoid assignment of cards in Build Maintenance column (#…
Browse files Browse the repository at this point in the history
…992)

Signed-off-by: Fran Mulero <[email protected]>
  • Loading branch information
fmulero authored Jun 19, 2023
1 parent 2b6d3da commit deca9c9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/moving-cards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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'
Expand Down

0 comments on commit deca9c9

Please sign in to comment.