[bitnami/charts] Fix comments workflow to manage any comment from users (#16426)

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2023-05-08 10:29:11 +02:00
committed by GitHub
parent 6e37fbdfa0
commit 11a0a6c7ce

View File

@@ -33,7 +33,8 @@ jobs:
uses: peter-evans/create-or-update-project-card@v2
if: |
(github.actor != 'bitnami-bot' || github.event.issue.user.login != 'bitnami-bot' || github.event.issue.pull_request == null) &&
(!contains(github.event.issue.labels.*.name, 'bitnami')) && contains(fromJson(env.BITNAMI_TEAM), github.actor)
contains(fromJson(env.BITNAMI_TEAM), github.actor) &&
(!contains(github.event.issue.labels.*.name, 'bitnami'))
with:
project-name: Support
column-name: Pending
@@ -41,7 +42,8 @@ jobs:
uses: peter-evans/create-or-update-project-card@v2
if: |
(github.actor != 'bitnami-bot' || github.event.issue.user.login != 'bitnami-bot' || github.event.issue.pull_request == null) &&
contains(github.event.issue.labels.*.name, 'in-progress') && (!contains(fromJson(env.BITNAMI_TEAM), github.actor))
(!contains(fromJson(env.BITNAMI_TEAM), github.actor)) &&
contains(github.event.issue.labels.*.name, 'in-progress')
with:
project-name: Support
column-name: In progress
@@ -49,7 +51,8 @@ jobs:
uses: peter-evans/create-or-update-project-card@v2
if: |
(github.actor != 'bitnami-bot' || github.event.issue.user.login != 'bitnami-bot' || github.event.issue.pull_request == null) &&
((contains(github.event.issue.labels.*.name, 'triage')) || (contains(github.event.issue.labels.*.name, 'solved'))) && (!contains(fromJson(env.BITNAMI_TEAM), github.actor))
(!contains(fromJson(env.BITNAMI_TEAM), github.actor)) &&
(!contains(github.event.issue.labels.*.name, 'in-progress'))
with:
project-name: Support
column-name: Triage