mirror of
https://github.com/bitnami/charts.git
synced 2026-02-19 03:17:10 +08:00
[bitnami/charts] Fix movements for staled issues (#12841)
* [bitnami/charts] Fix wrong column movements when issues or PRs are staled Signed-off-by: Fran Mulero <fmulero@vmware.com> * Allow run this workflow manually and force the GITHUB_TOKEN always Signed-off-by: Fran Mulero <fmulero@vmware.com> Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
14
.github/workflows/comments.yml
vendored
14
.github/workflows/comments.yml
vendored
@@ -12,17 +12,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repo checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
uses: actions/checkout@v3
|
||||
- name: Load .env file
|
||||
uses: xom9ikk/dotenv@v1.0.2
|
||||
with:
|
||||
path: .github/workflows/
|
||||
- name: Move into From Build Maintenance
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
# The comment was created by bitnami-bot in a pull_request
|
||||
if: ${{ github.actor == 'bitnami-bot' && github.event.issue.pull_request != null }}
|
||||
# The comment was created by bitnami-bot in a pull_request created by bitnami-bot
|
||||
if: ${{ github.actor == 'bitnami-bot' && github.event.issue.user.login == 'bitnami-bot' && github.event.issue.pull_request != null }}
|
||||
with:
|
||||
project-name: Support
|
||||
column-name: Build Maintenance
|
||||
@@ -31,7 +29,7 @@ jobs:
|
||||
- name: Move into Pending
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
if: |
|
||||
(github.actor != 'bitnami-bot' || github.event.issue.pull_request == null) &&
|
||||
(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)
|
||||
with:
|
||||
project-name: Support
|
||||
@@ -39,7 +37,7 @@ jobs:
|
||||
- name: Move into In Progress
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
if: |
|
||||
(github.actor != 'bitnami-bot' || github.event.issue.pull_request == null) &&
|
||||
(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))
|
||||
with:
|
||||
project-name: Support
|
||||
@@ -47,7 +45,7 @@ jobs:
|
||||
- name: Move into Triage
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
if: |
|
||||
(github.actor != 'bitnami-bot' || github.event.issue.pull_request == null) &&
|
||||
(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))
|
||||
with:
|
||||
project-name: Support
|
||||
|
||||
Reference in New Issue
Block a user