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