mirror of
https://github.com/bitnami/containers.git
synced 2026-03-05 07:29:11 +08:00
* PRs created by bitnami-bot will be handled by triage workflow to include it in the support project (at the moment in bitnami column) and set the 'auto-merge' label, without assigning people to work on it Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove concurrency config from triage workflow. It doesn't make sense because only have one job and all steps are sequential Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove unnecessary code from move-closed-issues workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Add 'permissions' section to stale workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove labeling from comments workflow and delegate it to moving-cards workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove assignments and labeling from CI workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Change moving-cards.yml workflow to listen created task event Signed-off-by: Fran Mulero <fmulero@vmware.com> * Apply suggestions Signed-off-by: Fran Mulero <fmulero@vmware.com> * Apply suggestions Signed-off-by: Fran Mulero <fmulero@vmware.com> * Include new 'automated' label form bitnami-bot PRs Signed-off-by: Fran Mulero <fmulero@vmware.com> Signed-off-by: Fran Mulero <fmulero@vmware.com>
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
# This workflow is built to manage the triage support by using GH issues.
|
|
name: '[Support] Organize triage'
|
|
on:
|
|
issues:
|
|
types:
|
|
- reopened
|
|
- opened
|
|
pull_request_target:
|
|
types:
|
|
- reopened
|
|
- opened
|
|
jobs:
|
|
# For any opened or reopened issue, should be sent into Triage
|
|
send_to_board:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repo checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Load .env file
|
|
uses: xom9ikk/dotenv@v1.0.2
|
|
with:
|
|
path: .github/workflows/
|
|
- name: Send to the board
|
|
uses: peter-evans/create-or-update-project-card@v2
|
|
with:
|
|
project-name: Support
|
|
# If the author comes from Bitnami, send it to Bitnami. Otherwise, all to Triage
|
|
# NOTE: This step has to be modified when the new column for automated PR is added
|
|
column-name: ${{ (github.actor == 'bitnami-bot' || (!contains(fromJson(env.BITNAMI_TEAM), github.actor))) && 'Triage' || 'From Bitnami' }}
|
|
token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
|
issue-number: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }} |