[bitnami/common] Add support for customizing standard labels #5029
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright VMware, Inc. | |
# SPDX-License-Identifier: APACHE-2.0 | |
name: '[Support] Review based card movements' | |
on: | |
pull_request_target: | |
types: | |
- review_requested | |
- synchronize | |
# Remove all permissions by default | |
permissions: {} | |
concurrency: | |
group: card-movement-${{ github.event.number }} | |
jobs: | |
handler: | |
runs-on: ubuntu-latest | |
permissions: | |
repository-projects: write | |
contents: read | |
issues: read | |
pull-requests: read | |
# This job will ignore: | |
# * Events triggered by bitnami-bot (README commits for example). | |
# * Events triggered over automated PRs (They are managed in comments.yml workflow). | |
# * PRs with 'bitnami' label. | |
if: | | |
github.actor != 'bitnami-bot' && github.event.pull_request.user.login != 'bitnami-bot' && | |
(!contains(github.event.pull_request.labels.*.name, 'bitnami')) && (!contains(github.event.pull_request.labels.*.name, 'triage')) | |
steps: | |
- name: Repo checkout | |
uses: actions/checkout@v3 | |
- name: Load .env file | |
uses: xom9ikk/dotenv@v2 | |
with: | |
path: .github/workflows/ | |
- name: Move into In Progress | |
# Move the card only if the actor is not a Bitnami member | |
if: ${{ !contains(fromJson(env.BITNAMI_TEAM), github.actor) }} | |
uses: peter-evans/create-or-update-project-card@v2 | |
with: | |
project-name: Support | |
column-name: In progress | |
issue-number: ${{ github.event.number }} |