Skip to content

Commit

Permalink
🔄 synced local '.github/workflows/' with remote 'workflows/'
Browse files Browse the repository at this point in the history
Signed-off-by: bitnami-bot <bitnami-bot@vmware.com>
  • Loading branch information
bitnami-bot committed Nov 29, 2023
1 parent cf60555 commit 1515fec
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 13 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/comments.yml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions .github/workflows/migration.yml
Original file line number Diff line number Diff line change
@@ -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 }}
18 changes: 18 additions & 0 deletions .github/workflows/move-closed-issues.yml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions .github/workflows/pr-reviews.yml
Original file line number Diff line number Diff line change
@@ -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
19 changes: 19 additions & 0 deletions .github/workflows/reasign.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 8 additions & 13 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 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:
Expand All @@ -10,18 +13,10 @@ on:
- reopened
- opened
permissions:
contents: read
pull-requests: write
issues: write

jobs:
# For any opened or reopened issue, should be assign to a team member
team_assignation:
if: ${{ github.actor != 'bitnami-bot' }}
runs-on: ubuntu-latest
steps:
- name: Assign to a person to work on it
uses: pozil/auto-assign-issue@v1.9.0
with:
numOfAssignee: 1
removePreviousAssignees: false
teams: "containers-triage"
repo-token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
call-triage-workflow:
uses: bitnami/support/.github/workflows/item-opened.yml@main
secrets: inherit

0 comments on commit 1515fec

Please sign in to comment.