Fixing the race condition only to exclude bitnami-bot ON auto-merge PRs (#11337)

Signed-off-by: Alejandro Gómez <morona@vmware.com>
This commit is contained in:
Alejandro Gómez Morón
2022-07-25 12:38:32 +02:00
committed by GitHub
parent 45f99cea6c
commit d66c16c239

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