mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 14:09:35 +02:00
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:
@@ -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
|
||||
|
||||
@@ -11,12 +11,14 @@ permissions:
|
||||
issues: write
|
||||
repository-projects: 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:
|
||||
send_to_solved:
|
||||
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
|
||||
|
||||
@@ -9,13 +9,14 @@ permissions:
|
||||
repository-projects: read
|
||||
issues: write
|
||||
|
||||
# To fix the concurrency when for example more than one label is added
|
||||
concurrency:
|
||||
# Cards are special
|
||||
group: ${{ github.event.project_card.content_url }}
|
||||
group: ${{ github.run_id }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
label-card:
|
||||
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
|
||||
@@ -52,6 +53,7 @@ jobs:
|
||||
add-labels: "solved"
|
||||
remove-labels: "in-progress, on-hold, triage"
|
||||
assign-assignee-if-needed:
|
||||
if: ${{ github.actor != 'bitnami-bot' && (!contains(github.event.issue.labels.*.name, 'auto-merge')) }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repo checkout
|
||||
|
||||
@@ -13,13 +13,15 @@ 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:
|
||||
# For any opened or reopened issue, should be sent into Triage
|
||||
send_to_board:
|
||||
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
|
||||
@@ -38,7 +40,6 @@ jobs:
|
||||
# creating env variable "on the fly"
|
||||
echo "TRIAGE_TEAM_STRING=$TRIAGE_TEAM_STRING" >> $GITHUB_ENV
|
||||
- name: Assign to a person to work on it
|
||||
if: ${{ github.actor != 'bitnami-bot' }}
|
||||
uses: pozil/auto-assign-issue@v1.7.3
|
||||
with:
|
||||
numOfAssignee: 1
|
||||
@@ -47,7 +48,6 @@ jobs:
|
||||
# teams: XXX
|
||||
repo-token: "${{ secrets.GHPROJECT_TOKEN }}"
|
||||
- name: Send to the board
|
||||
if: ${{ github.actor != 'bitnami-bot' }}
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
with:
|
||||
project-name: Support
|
||||
|
||||
Reference in New Issue
Block a user