mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 06:57:55 +08:00
Fixing when the change is related to an issue (#11334)
Signed-off-by: Alejandro Gómez <morona@vmware.com>
This commit is contained in:
committed by
GitHub
parent
03a998c1ab
commit
d524e1ebd3
8
.github/workflows/comments.yml
vendored
8
.github/workflows/comments.yml
vendored
@@ -14,7 +14,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
comments_handler:
|
||||
if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }}
|
||||
if: ${{ github.actor != 'bitnami-bot' && ((github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge'))) || github.event_name == 'issues') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repo checkout
|
||||
@@ -31,21 +31,21 @@ jobs:
|
||||
with:
|
||||
project-name: Support
|
||||
column-name: Pending
|
||||
token: "${{ secrets.GHPROJECT_TOKEN }}"
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: Move into In Progress
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
if: ${{ contains(github.event.issue.labels.*.name, 'in-progress') && (!contains(fromJson(env.BITNAMI_TEAM), github.event.comment.user.login)) }}
|
||||
with:
|
||||
project-name: Support
|
||||
column-name: In progress
|
||||
token: "${{ secrets.GHPROJECT_TOKEN }}"
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: Move into Triage
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
if: ${{ ((contains(github.event.issue.labels.*.name, 'triage')) || (contains(github.event.issue.labels.*.name, 'solved'))) && (!contains(fromJson(env.BITNAMI_TEAM), github.event.comment.user.login)) }}
|
||||
with:
|
||||
project-name: Support
|
||||
column-name: Triage
|
||||
token: "${{ secrets.GHPROJECT_TOKEN }}"
|
||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: Label as triage back
|
||||
# Only if commented when solved
|
||||
if: ${{ contains(github.event.issue.labels.*.name, 'solved') }}
|
||||
|
||||
Reference in New Issue
Block a user