From 3d25a009c5a09f515215c24e7b2878cd8b7ff19a Mon Sep 17 00:00:00 2001 From: Fran Mulero Date: Fri, 24 Mar 2023 12:33:13 +0100 Subject: [PATCH] [bitnami/containers] Use latest changes from labeler action (#28187) * [bitnami/containers] Use latest changes from labeler action Signed-off-by: Fran Mulero * Use version 1.1.0 Signed-off-by: Fran Mulero --------- Signed-off-by: Fran Mulero --- .github/workflows/assign-asset-label.yml | 2 +- .github/workflows/moving-cards.yml | 16 ++++++++-------- .github/workflows/triage.yml | 5 ++--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/assign-asset-label.yml b/.github/workflows/assign-asset-label.yml index 9b5c5e0efa40..b03f142c56a7 100644 --- a/.github/workflows/assign-asset-label.yml +++ b/.github/workflows/assign-asset-label.yml @@ -43,6 +43,6 @@ jobs: } - name: Labeling if: ${{ steps.get-asset.outputs.result == 'ok' }} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: "${{ steps.get-asset.outputs.name }}" diff --git a/.github/workflows/moving-cards.yml b/.github/workflows/moving-cards.yml index af02100eaa62..65c72f5efd69 100644 --- a/.github/workflows/moving-cards.yml +++ b/.github/workflows/moving-cards.yml @@ -57,43 +57,43 @@ jobs: - name: Triage labeling # Only if moved into triage if: ${{ github.event.project_card.column_id == env.TRIAGE_COLUMN_ID }} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: triage remove-labels: on-hold, in-progress, solved - name: From Bitnami labeling if: ${{ github.event.project_card.column_id == env.BITNAMI_COLUMN_ID }} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: ${{ (needs.get-issue.outputs.author == 'bitnami-bot' && needs.get-issue.outputs.type == 'pull_request') && 'automated, auto-merge' || 'bitnami' }} remove-labels: on-hold, in-progress, triage, solved - name: Verify labeling # Only if moved into bitnami column and the PR is ready for review - # Consecutive calls were fixed in fmulero/labeler@1.0.5, see https://github.com/fmulero/labeler/pull/2 + # Consecutive calls were fixed in fmulero/labeler@1.1.0, see https://github.com/fmulero/labeler/pull/2 if: | github.event.project_card.column_id == env.BITNAMI_COLUMN_ID && needs.get-issue.outputs.type == 'pull_request' && needs.get-issue.outputs.draft == 'false' - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 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.0.5 + 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 }} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: on-hold remove-labels: triage, in-progress, solved - name: In progress labeling # Only if moved into In progress if: ${{ github.event.project_card.column_id == env.IN_PROGRESS_COLUMN_ID }} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: in-progress remove-labels: on-hold, triage, solved @@ -102,7 +102,7 @@ jobs: if: | github.event.project_card.column_id == env.SOLVED_COLUMN_ID && (needs.get-issue.outputs.author != 'bitnami-bot') - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: solved # Triage is not on the list to know how many issues/PRs are solved diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index acb4dc872b78..d9952cde23c4 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -51,13 +51,12 @@ jobs: # a card for the automated PRs only when it is needed. - name: From Bitnami labeling if: ${{steps.get-issue.outputs.author == 'bitnami-bot' && steps.get-issue.outputs.type == 'pull_request'}} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: add-labels: 'automated, auto-merge' - remove-labels: on-hold, in-progress, triage, solved - name: Verify labeling if: ${{steps.get-issue.outputs.author == 'bitnami-bot' && steps.get-issue.outputs.type == 'pull_request'}} - uses: fmulero/labeler@1.0.5 + uses: fmulero/labeler@1.1.0 with: # Bitnami bot token is required to trigger CI workflows repo-token: ${{ secrets.BITNAMI_BOT_TOKEN }}