Ignoring automated PR (Release activity) from the support flow. (#342)

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>
This commit is contained in:
Alejandro Gómez Morón
2022-07-22 12:03:44 +02:00
committed by GitHub
parent c21a161648
commit 9de3b762e4
4 changed files with 13 additions and 7 deletions

View File

@@ -7,12 +7,14 @@ permissions:
repository-projects: write
issues: write
# To fix the concurrency when for example more than one label is added
concurrency:
group: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }}
group: ${{ github.run_id }}
cancel-in-progress: false
jobs:
comments_handler:
if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }}
runs-on: ubuntu-latest
steps:
- name: Repo checkout