diff --git a/.github/workflows/assign-asset-label.yml b/.github/workflows/assign-asset-label.yml deleted file mode 100644 index db6ca72a1793b..0000000000000 --- a/.github/workflows/assign-asset-label.yml +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -name: '[Support] Assign asset label' -on: - pull_request_target: - types: - - opened -# Remove all permissions by default -permissions: {} -jobs: - assign-label: - name: Assign label - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - id: get-asset - name: Get modified assets - env: - DIFF_URL: "${{github.event.pull_request.diff_url}}" - TEMP_FILE: "${{runner.temp}}/pr-${{github.event.number}}.diff" - run: | - # This request doesn't consume API calls. - curl -Lkso $TEMP_FILE $DIFF_URL - files_changed="$(sed -nr 's/[\-\+]{3} [ab]\/(.*)/\1/p' $TEMP_FILE | sort | uniq)" - # Adding || true to avoid "Process exited with code 1" errors - assets=($(echo "$files_changed" | xargs dirname | sed -nr "s|bitnami/([^/]*).*|\1|p" | sort | uniq || true)) - - if [[ "${#assets[@]}" -ne "1" ]]; then - echo "result=skip" >> $GITHUB_OUTPUT - echo "message=Label cannot be set, cannot infer a single label from: ${assets[@]}" >> $GITHUB_OUTPUT - echo "name=NONE" >> $GITHUB_OUTPUT - else - echo "result=ok" >> $GITHUB_OUTPUT - echo "message=Adding label '${assets}'" >> $GITHUB_OUTPUT - echo "name=${assets}" >> $GITHUB_OUTPUT - fi - - name: Show messages - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd - with: - script: | - if ("${{ steps.get-asset.outputs.result }}" != "ok" ) { - core.warning("${{ steps.get-asset.outputs.message }}") - } else { - core.info("${{ steps.get-asset.outputs.message }}") - } - - name: Labeling - if: ${{ steps.get-asset.outputs.result == 'ok' }} - uses: fmulero/labeler@d3ef0aadb212cd1656bd6d5ce1e772787bf1682b - with: - add-labels: "${{ steps.get-asset.outputs.name }}" diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml deleted file mode 100644 index 77075849a2d23..0000000000000 --- a/.github/workflows/ci-pipeline.yml +++ /dev/null @@ -1,145 +0,0 @@ -name: '[CI/CD] CI Pipeline' -on: # rebuild any PRs and main branch changes - pull_request_target: - types: - - synchronize - - labeled - branches: - - main - - bitnami:main -permissions: {} -# Avoid concurrency over the same PR -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number }} -jobs: - get-containers: - runs-on: ubuntu-latest - name: Get modified containers - permissions: - pull-requests: read - if: | - github.event.pull_request.state != 'closed' && - ( - contains(github.event.pull_request.labels.*.name, 'verify') || (github.event.action == 'labeled' && github.event.label.name == 'verify') - ) - outputs: - result: ${{ steps.get-containers.outputs.result }} - containers: ${{ steps.get-containers.outputs.containers }} - dockerfiles: ${{ steps.get-containers.outputs.dockerfiles }} - steps: - - id: get-containers - name: Get modified containers - env: - PULL_REQUEST_NUMBER: "${{ github.event.pull_request.number }}" - GITHUB_TOKEN: "${{ github.token }}" - run: | - files_changed="$(gh api --paginate /repos/${GITHUB_REPOSITORY}/pulls/${PULL_REQUEST_NUMBER}/files | jq -r '.[] | .filename')" - # Adding || true to avoid "Process exited with code 1" errors - flavors=($(echo "$files_changed" | xargs dirname | grep -o "^bitnami/[^/]*/[^/]*/[^/]*" | sort | uniq || true)) - assets=($(echo "$files_changed" | xargs dirname | sed -nr "s|bitnami/([^/]*)/.*|\1|p" | sort | uniq || true)) - non_readme_files=$(echo "$files_changed" | grep -vc "\.md" || true) - dockerfiles=($(echo "$files_changed" | grep -oE ".*/Dockerfile$" | sort | uniq || true)) - - if [[ "$non_readme_files" -le "0" ]]; then - # The only changes are .md files -> SKIP - echo "result=skip" >> $GITHUB_OUTPUT - elif [[ "${#assets[@]}" -ge "5" ]]; then - echo "Maximun number of assets reached. You are currently modifying: ${assets[@]}" - echo "result=skip" >> $GITHUB_OUTPUT - else - containers_json=$(printf "%s\n" "${flavors[@]}" | jq -R . | jq -cs .) - dockerfiles_json=$(printf "%s\n" "${dockerfiles[@]}" | jq -R . | jq -cs .) - echo "result=ok" >> $GITHUB_OUTPUT - echo "containers=${containers_json}" >> $GITHUB_OUTPUT - echo "dockerfiles=${dockerfiles_json}" >> $GITHUB_OUTPUT - fi - license-headers-linter: - runs-on: ubuntu-latest - name: License Headers Linter - permissions: - contents: read - pull-requests: write - needs: get-containers - if: | - needs.get-containers.outputs.result == 'ok' - steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - name: Checkout Repository - with: - ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} - - id: get-modified-files - name: 'Get modified files' - env: - DOCKERFILES: "${{ needs.get-containers.outputs.dockerfiles }}" - run: | - if [[ -n "${DOCKERFILES}" ]]; then - # Overwrite configuration file to analyze only changed dockerfiles - yq -i '. | .header.paths=env(DOCKERFILES)' .licenserc.yaml - echo "result=success" >> $GITHUB_OUTPUT - else - echo "result=skip" >> $GITHUB_OUTPUT - fi - - name: Check license Headers - uses: apache/skywalking-eyes/header@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 - if: ${{ steps.get-modified-files.outputs.result == 'success' }} - auto-pr-review: - runs-on: ubuntu-latest - name: Reviewal for automated PRs - permissions: - pull-requests: write - needs: - - license-headers-linter - # This job will be executed when the PR was created by bitnami-bot and it has the 'auto-merge' label - if: | - contains(github.event.pull_request.labels.*.name, 'auto-merge') && - github.event.pull_request.user.login == 'bitnami-bot' - steps: - # Approve the CI's PR automatically, as it has been tested in our internal pipeline already - # Approved by the 'github-actions' user; a PR can't be approved by its author - - name: PR Approval - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd - with: - result-encoding: string - retries: 3 - script: | - github.rest.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.issue.number, - event: 'APPROVE', - }); - - name: Merge - id: merge - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd - with: - result-encoding: string - retries: 3 - # Necessary to trigger CD workflows - github-token: ${{ secrets.BITNAMI_BOT_TOKEN }} - script: | - github.rest.pulls.merge({ - pull_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - merge_method: 'squash' - }) - # If the merge process did not succeed, - # post a comment on the PR and assign a maintainer agent to review it - - name: Manual review required - if: ${{ always() && steps.merge.outcome != 'success' }} - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd - env: - BODY: | - There has been an error during the automated release process. Manual revision is now required. - Please check the related [action_run#${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more information. - with: - retries: 3 - script: | - const {BODY} = process.env - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: `${BODY}` - }) diff --git a/.github/workflows/clossing-issues.yml b/.github/workflows/clossing-issues.yml deleted file mode 100644 index cd7c70722d3e5..0000000000000 --- a/.github/workflows/clossing-issues.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Close Solved issues' -on: - schedule: - # Hourly - - cron: '0 * * * *' -# Remove all permissions by default. Actions are performed by Bitnami Bot -permissions: {} -jobs: - stale: - runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'bitnami' }} - steps: - - uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 - with: - any-of-labels: 'solved' - stale-issue-label: 'solved' - days-before-stale: 0 - days-before-close: 0 - repo-token: ${{ secrets.BITNAMI_SUPPORT_BOARD_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/comments.yml b/.github/workflows/comments.yml deleted file mode 100644 index b7bb4a4dc87ba..0000000000000 --- a/.github/workflows/comments.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Comments based card movements' -on: - issue_comment: - types: - - created -permissions: - contents: read - pull-requests: write - issues: write -# Avoid concurrency over the same issue -concurrency: - group: card-movement-${{ github.event.issue.number }} -jobs: - call-comments-workflow: - if: ${{ github.repository_owner == 'bitnami' }} - uses: bitnami/support/.github/workflows/comment-created.yml@main - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/markdown-linter.yml b/.github/workflows/markdown-linter.yml deleted file mode 100644 index 67f48e76d86b2..0000000000000 --- a/.github/workflows/markdown-linter.yml +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -name: '[CI/CD] Markdown linter' -on: - pull_request: - branches: - - main - paths: - - '**.md' -# Remove all permissions by default -permissions: {} -jobs: - markdown-linter: - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - name: Install mardownlint - run: npm install -g markdownlint-cli@0.33.0 - - name: Checkout project - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - - name: Execute markdownlint - env: - DIFF_URL: "${{github.event.pull_request.diff_url}}" - TEMP_FILE: "${{runner.temp}}/pr-${{github.event.number}}.diff" - TEMP_OUTPUT: "${{runner.temp}}/output" - run: | - # This request doesn't consume API calls. - curl -Lkso $TEMP_FILE $DIFF_URL - files_changed="$(sed -nr 's/[\-\+]{3} [ab]\/(.*)/\1/p' $TEMP_FILE | sort | uniq)" - md_files="$(echo "$files_changed" | grep -o ".*\.md$" | sort | uniq || true)" - # Create an empty file, useful when the PR changes ignored files - touch "${TEMP_OUTPUT}" - exit_code=0 - markdownlint -o "${TEMP_OUTPUT}" ${md_files[@]} || exit_code=$? - while read -r line; do - # line format: - # file:row[:column] message - # white space inside brackets is intentional to detect the message for the notice. - message="${line#*[ ]}" - file_row_column="${line%%[ ]*}" - # Split by ':' - readarray -d : -t strarr < <(printf '%s' "$file_row_column") - if [[ "${#strarr[@]}" -eq 3 ]]; then - echo "::warning file=${strarr[0]},line=${strarr[1]},col=${strarr[2]}::${message}" - elif [[ "${#strarr[@]}" -eq 2 ]]; then - echo "::warning file=${strarr[0]},line=${strarr[1]}::${message}" - else - echo "::warning:: Error processing: ${line}" - fi - done < "${TEMP_OUTPUT}" - if [[ $exit_code -ne 0 ]]; then - echo "::error:: Please review linter messages" - exit "$exit_code" - fi \ No newline at end of file diff --git a/.github/workflows/move-closed-issues.yml b/.github/workflows/move-closed-issues.yml deleted file mode 100644 index 2e1698c19ddbd..0000000000000 --- a/.github/workflows/move-closed-issues.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Move closed issues' -on: - issues: - types: - - closed - pull_request_target: - types: - - closed -permissions: - issues: write - pull-requests: write -# Avoid concurrency over the same issue -concurrency: - group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }} -jobs: - call-move-closed-workflow: - if: ${{ github.repository_owner == 'bitnami' }} - uses: bitnami/support/.github/workflows/item-closed.yml@main - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/pr-review-hack.yml b/.github/workflows/pr-review-hack.yml deleted file mode 100644 index 05d5ac0470637..0000000000000 --- a/.github/workflows/pr-review-hack.yml +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# This is a hack to run reusable workflows in the main repo context and not from the forked repository. -# We this hack we can use secrets configured in the organization. -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] PR review comment trigger' -on: - workflow_run: - workflows: - - '\[Support\] PR review comment card movements' - types: - - completed -permissions: {} -jobs: - pr-info: - runs-on: ubuntu-latest - permissions: - pull-requests: read - actions: read - outputs: - author: ${{ steps.get-info.outputs.author }} - actor: ${{ steps.get-info.outputs.actor }} - review_state: ${{ steps.get-info.outputs.review_state }} - labels: ${{ steps.get-info.outputs.labels }} - resource_url: ${{ steps.get-info.outputs.resource_url }} - if: ${{ github.repository_owner == 'bitnami' && github.event.workflow_run.conclusion == 'success' }} - steps: - - id: get-info - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: | - actor="${{ github.event.workflow_run.actor.login }}" - download_url="$(gh api "${{ github.event.workflow_run.artifacts_url }}" | jq -cr '.artifacts[] | select(.name == "pull_request_info.json") | .archive_download_url')" - curl -sSL -o pull_request_info.zip -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer $GITHUB_TOKEN" $download_url - unzip pull_request_info.zip - pull_request_number="$(jq -cr '.issue.number' pull_request_info.json)" - issue_review_state="$(jq -cr '.review.state' pull_request_info.json)" - pull_request="$(gh api "repos/${GITHUB_REPOSITORY}/pulls/${pull_request_number}")" - author="$(echo $pull_request | jq -cr '.user.login')" - author_association="$(echo $pull_request | jq -cr '.author_association')" - labels="$(echo $pull_request | jq -cr '[.labels[].name]')" - resource_url="$(echo $pull_request | jq -cr '.html_url')" - - echo "::notice:: Managing PR #${pull_request_number}" - echo "actor=${actor}" >> $GITHUB_OUTPUT - echo "author=${author}" >> $GITHUB_OUTPUT - echo "author_association=${author_association}" >> $GITHUB_OUTPUT - echo "review_state=${issue_review_state}" >> $GITHUB_OUTPUT - echo "labels=${labels}" >> $GITHUB_OUTPUT - echo "resource_url=${resource_url}" >> $GITHUB_OUTPUT - call-pr-review-comment: - uses: bitnami/support/.github/workflows/pr-review-comment.yml@main - needs: pr-info - permissions: - contents: read - secrets: inherit - with: - author: ${{ needs.pr-info.outputs.author }} - actor: ${{ needs.pr-info.outputs.actor }} - labels: ${{ needs.pr-info.outputs.labels }} - review_state: ${{ needs.pr-info.outputs.review_state }} - resource_url: ${{ needs.pr-info.outputs.resource_url }} diff --git a/.github/workflows/pr-reviews-requested.yml b/.github/workflows/pr-reviews-requested.yml deleted file mode 100644 index 1f18378b017e3..0000000000000 --- a/.github/workflows/pr-reviews-requested.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Review based card movements' -on: - pull_request_target: - types: - - review_requested - - synchronize -permissions: - contents: read -# Avoid concurrency over the same issue -concurrency: - group: card-movement-${{ github.event.number }} -jobs: - call-pr-review-workflow: - if: ${{ github.repository_owner == 'bitnami' }} - uses: bitnami/support/.github/workflows/pr-review-requested-sync.yml@main - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/pr-reviews.yml b/.github/workflows/pr-reviews.yml deleted file mode 100644 index 2b3574395bdc6..0000000000000 --- a/.github/workflows/pr-reviews.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] PR review comment card movements' -on: - pull_request_review_comment: - types: - - created - pull_request_review: - types: - - submitted - - dismissed -permissions: {} -# Avoid concurrency over the same issue -concurrency: - group: card-movement-${{ github.event.pull_request.number }} -jobs: - just-notice: - # This is a dummy workflow that triggers a workflow_run - runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'bitnami' }} - steps: - - run: | - echo "::notice:: Comment on PR #${{ github.event.pull_request.number }}" - jq -n --arg issue '${{ github.event.pull_request.number }}' --arg state '${{ github.event.review != null && github.event.review.state || '' }}' '{"issue": {"number": $issue }, "review": { "state": $state }}' > pull_request_info.json - - name: Upload the PR info - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 - with: - name: pull_request_info.json - path: ./pull_request_info.json \ No newline at end of file diff --git a/.github/workflows/reasign.yml b/.github/workflows/reasign.yml deleted file mode 100644 index affebd94dc6f2..0000000000000 --- a/.github/workflows/reasign.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Review based card movements' -on: - pull_request_target: - types: - - labeled - issues: - types: - - labeled -permissions: - contents: read - pull-requests: write - issues: write -# Avoid concurrency over the same issue -concurrency: - group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }} -jobs: - call-reasign-workflow: - if: ${{ github.repository_owner == 'bitnami' }} - uses: bitnami/support/.github/workflows/item-labeled.yml@main - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/redis-cluster.yml b/.github/workflows/redis-cluster.yml new file mode 100644 index 0000000000000..94599f2198642 --- /dev/null +++ b/.github/workflows/redis-cluster.yml @@ -0,0 +1,40 @@ +name: Bitnami Redis-Cluster Docker Image CI/CD + +env: + REDIS_CONTAINER: "redis-cluster" + REDIS_VERSION: "8.4" + BASE_OS: "debian-12" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: | + BUILD_PATH="bitnami/${REDIS_CONTAINER}/${REDIS_VERSION}/${BASE_OS}" + LOCAL_TAG="dvs-${REDIS_CONTAINER}:${REDIS_VERSION}-${BASE_OS}" + docker build "$BUILD_PATH" \ + --file "$BUILD_PATH/Dockerfile" \ + --tag "$LOCAL_TAG" + - name: Push image to Azure Container Registry + env: + ACR_LOGIN_SERVER: ${{ secrets.ACR_REGISTRY }} + ACR_USERNAME: ${{ secrets.ACR_USERNAME }} + ACR_PASSWORD: ${{ secrets.ACR_PASSWORD }} + run: | + if [ -z "$ACR_LOGIN_SERVER" ] || [ -z "$ACR_USERNAME" ] || [ -z "$ACR_PASSWORD" ]; then + echo "Missing ACR credentials. Please set ACR_LOGIN_SERVER, ACR_USERNAME, and ACR_PASSWORD secrets." >&2 + exit 1 + fi + docker login "$ACR_LOGIN_SERVER" --username "$ACR_USERNAME" --password "$ACR_PASSWORD" + REMOTE_TAG="${ACR_LOGIN_SERVER}/${REDIS_CONTAINER}:${REDIS_VERSION}-${BASE_OS}" + LOCAL_TAG="dvs-${REDIS_CONTAINER}:${REDIS_VERSION}-${BASE_OS}" + docker tag "$LOCAL_TAG" "$REMOTE_TAG" + docker push "$REMOTE_TAG" diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 98b64ab23b22d..0000000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Close stale issues and PRs' -on: - workflow_dispatch: - schedule: - - cron: '0 1 * * *' -# Remove all permissions by default -permissions: {} -# This job won't trigger any additional event. All actions are performed with GITHUB_TOKEN -jobs: - stale: - runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'bitnami' }} - permissions: - issues: write - pull-requests: write - steps: - # This step will add the stale comment and label for the first 15 days without activity. It won't close any task - - uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.' - stale-pr-message: 'This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.' - days-before-stale: 15 - days-before-close: -1 - exempt-issue-labels: 'on-hold' - exempt-pr-labels: 'on-hold' - operations-per-run: 500 - # This step will add the 'solved' label and the last comment before closing the issue or PR. Note that it won't close any issue or PR, they will be closed by the clossing-issues workflow - - uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.' - stale-pr-message: 'Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.' - any-of-labels: 'stale' - stale-issue-label: 'solved' - stale-pr-label: 'solved' - days-before-stale: 5 - days-before-close: -1 - exempt-issue-labels: 'on-hold' - exempt-pr-labels: 'on-hold' - operations-per-run: 200 \ No newline at end of file diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml deleted file mode 100644 index bae4cde39db76..0000000000000 --- a/.github/workflows/triage.yml +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright Broadcom, Inc. All Rights Reserved. -# SPDX-License-Identifier: APACHE-2.0 - -# This workflow is built to manage the triage support by using GH issues. -# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository -name: '[Support] Organize triage' -on: - issues: - types: - - reopened - - opened - pull_request_target: - types: - - reopened - - opened -permissions: - contents: read - pull-requests: write - issues: write -# Avoid concurrency over the same issue -concurrency: - group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }} -jobs: - call-triage-workflow: - if: ${{ github.repository_owner == 'bitnami' }} - uses: bitnami/support/.github/workflows/item-opened.yml@main - secrets: inherit \ No newline at end of file