Files
containers/.github/workflows/pr-reviews.yml
Fran Mulero 179503ea49 [bitnami/containers] Add workflow to move issue cards based on PR changes (#20455)
[bitnami/containers] Add workflow to move issue cards based on PR changes

Signed-off-by: Fran Mulero <fmulero@vmware.com>
2023-01-17 08:39:54 +01:00

26 lines
872 B
YAML

name: '[Support] Review based card movements'
on:
pull_request_target:
types:
- review_requested
- synchronize
permissions:
repository-projects: write
jobs:
comments_handler:
runs-on: ubuntu-latest
# 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'))
steps:
- name: Move into In Progress
uses: peter-evans/create-or-update-project-card@v2
with:
project-name: Support
column-name: In progress
issue-number: ${{ github.event.pull_request.number }}