From 5be8e9e5223f92c0ebd7bcbbc365f295935b7682 Mon Sep 17 00:00:00 2001 From: bitnami-bot Date: Wed, 29 Nov 2023 15:46:09 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows/'=20with=20remote=20'workflows/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: bitnami-bot --- .github/workflows/comments.yml | 16 ++++++++++++++++ .github/workflows/migration.yml | 17 +++++++++++++++++ .github/workflows/move-closed-issues.yml | 18 ++++++++++++++++++ .github/workflows/pr-reviews.yml | 15 +++++++++++++++ .github/workflows/reasign.yml | 19 +++++++++++++++++++ .github/workflows/triage.yml | 22 ++++++++++++++++++++++ 6 files changed, 107 insertions(+) create mode 100644 .github/workflows/comments.yml create mode 100644 .github/workflows/migration.yml create mode 100644 .github/workflows/move-closed-issues.yml create mode 100644 .github/workflows/pr-reviews.yml create mode 100644 .github/workflows/reasign.yml create mode 100644 .github/workflows/triage.yml diff --git a/.github/workflows/comments.yml b/.github/workflows/comments.yml new file mode 100644 index 0000000..7d321fd --- /dev/null +++ b/.github/workflows/comments.yml @@ -0,0 +1,16 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + +name: '[Support] Comments based card movements' +on: + issue_comment: + types: + - created +permissions: + contents: read + pull-requests: write + issues: write +jobs: + call-comments-workflow: + uses: bitnami/support/.github/workflows/comment-created.yml@main + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/migration.yml b/.github/workflows/migration.yml new file mode 100644 index 0000000..ae86cb4 --- /dev/null +++ b/.github/workflows/migration.yml @@ -0,0 +1,17 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + +name: '[Support] Cards migration' +on: [ workflow_dispatch ] +permissions: {} +jobs: + call-migration-workflow: + uses: bitnami/support/.github/workflows/migrate-reusable.yml@main + with: + organization: bitnami + legacy_project_board_name: Support + new_project_number: 4 + repo: ${{ github.event.repository.name }} + secrets: + # This token should have access to both projects and at least read:project permissions + token: ${{ secrets.MIGRATION_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/move-closed-issues.yml b/.github/workflows/move-closed-issues.yml new file mode 100644 index 0000000..76664ce --- /dev/null +++ b/.github/workflows/move-closed-issues.yml @@ -0,0 +1,18 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + +name: '[Support] Move closed issues' +on: + issues: + types: + - closed + pull_request_target: + types: + - closed +permissions: + issues: write + pull-requests: write +jobs: + call-move-closed-workflow: + uses: bitnami/support/.github/workflows/item-closed.yml@main + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/pr-reviews.yml b/.github/workflows/pr-reviews.yml new file mode 100644 index 0000000..bd3da55 --- /dev/null +++ b/.github/workflows/pr-reviews.yml @@ -0,0 +1,15 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + +name: '[Support] Review based card movements' +on: + pull_request_target: + types: + - review_requested + - synchronize +permissions: + contents: read +jobs: + call-pr-review-workflow: + uses: bitnami/support/.github/workflows/pr-review-requested-sync.yml@main + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/reasign.yml b/.github/workflows/reasign.yml new file mode 100644 index 0000000..67f3199 --- /dev/null +++ b/.github/workflows/reasign.yml @@ -0,0 +1,19 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + +name: '[Support] Review based card movements' +on: + pull_request: + types: + - labeled + issues: + types: + - labeled +permissions: + contents: read + pull-requests: write + issues: write +jobs: + call-reasign-workflow: + uses: bitnami/support/.github/workflows/item-labeled.yml@main + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml new file mode 100644 index 0000000..8a86133 --- /dev/null +++ b/.github/workflows/triage.yml @@ -0,0 +1,22 @@ +# Copyright VMware, Inc. +# SPDX-License-Identifier: APACHE-2.0 + +# This workflow is built to manage the triage support by using GH issues. +name: '[Support] Organize triage' +on: + issues: + types: + - reopened + - opened + pull_request_target: + types: + - reopened + - opened +permissions: + contents: read + pull-requests: write + issues: write +jobs: + call-triage-workflow: + uses: bitnami/support/.github/workflows/item-opened.yml@main + secrets: inherit \ No newline at end of file