Fix/comments movements (#643)

* Automated PRs created by the bitnami-bot should be ignored by any workflow related to support activities.

Signed-off-by: Alejandro Gómez <morona@vmware.com>

* Fixing the race condition only to exclude bitnami-bot ON auto-merge PRs

Signed-off-by: Alejandro Gómez <morona@vmware.com>
This commit is contained in:
Alejandro Gómez Morón 2022-07-25 12:38:35 +02:00 committed by GitHub
parent 3d6918438d
commit b4ca00ed6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'))) || github.event_name == 'issues') }}
if: ${{ github.actor != 'bitnami-bot' && ((github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge'))) || (github.event.issue && (!contains(github.event.issue.labels.*.name, 'auto-merge')))) }}
runs-on: ubuntu-latest
steps:
- name: Repo checkout