Remove Build Maintenance column and its automation (#52131)
* Remove Build Maintenance column and its automation Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> * Apply suggestion Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> --------- Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
parent
deb2adb1c7
commit
f2ce94b297
|
|
@ -5,6 +5,5 @@ SOLVED_COLUMN_ID=19026825
|
|||
ON_HOLD_COLUMN_ID=19026824
|
||||
BITNAMI_COLUMN_ID=19026818
|
||||
PENDING_COLUMN_ID=19026823
|
||||
BUILD_MAINTENANCE_COLUMN_ID=19168045
|
||||
SUPPORT_TEAM_NAME='containers-support'
|
||||
TRIAGE_TEAM_NAME='containers-triage'
|
||||
|
|
|
|||
|
|
@ -23,15 +23,6 @@ jobs:
|
|||
uses: xom9ikk/dotenv@v2
|
||||
with:
|
||||
path: .github/workflows/
|
||||
- name: Move into From Build Maintenance
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
# The comment was created by bitnami-bot in a pull_request created by bitnami-bot
|
||||
if: ${{ github.actor == 'bitnami-bot' && github.event.issue.user.login == 'bitnami-bot' && github.event.issue.pull_request != null }}
|
||||
with:
|
||||
project-name: Support
|
||||
column-name: Build Maintenance
|
||||
# Required to trigger moving-cards.yml workflow (clean labels and assign people to work on it)
|
||||
token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
||||
- name: Move into Pending
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
if: |
|
||||
|
|
|
|||
|
|
@ -80,12 +80,6 @@ jobs:
|
|||
with:
|
||||
repo-token: ${{ secrets.BITNAMI_BOT_TOKEN }}
|
||||
add-labels: verify
|
||||
- name: Build Maintenance labeling
|
||||
if: ${{ github.event.project_card.column_id == env.BUILD_MAINTENANCE_COLUMN_ID }}
|
||||
uses: fmulero/labeler@1.1.0
|
||||
with:
|
||||
add-labels: review-required
|
||||
remove-labels: auto-merge
|
||||
- name: On hold labeling
|
||||
# Only if moved into on hold
|
||||
if: ${{ github.event.project_card.column_id == env.ON_HOLD_COLUMN_ID }}
|
||||
|
|
@ -129,10 +123,8 @@ jobs:
|
|||
path: .github/workflows/
|
||||
- name: Assign to a person to work on it
|
||||
# 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')
|
||||
github.event.project_card.column_id != env.SOLVED_COLUMN_ID && (needs.get-issue.outputs.assignees == '[]' || github.event.action == 'created')
|
||||
uses: pozil/auto-assign-issue@v1.11.0
|
||||
with:
|
||||
numOfAssignee: 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue