mirror of
https://github.com/bitnami/containers.git
synced 2026-02-20 06:37:24 +08:00
[bitnami/*] Split workflow responsibilites (#6418)
* 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>
This commit is contained in:
29
.github/workflows/move-closed-issues.yml
vendored
29
.github/workflows/move-closed-issues.yml
vendored
@@ -6,41 +6,14 @@ on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
repository-projects: write
|
||||
pull-requests: write
|
||||
|
||||
# To fix the concurrency when for example more than one label is added
|
||||
concurrency:
|
||||
group: ${{ github.run_id }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
send_to_solved:
|
||||
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 Solved column
|
||||
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
|
||||
column-name: 'Solved'
|
||||
token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
||||
issue-number: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }}
|
||||
- name: Solved labeling
|
||||
# Only if moved into Solved
|
||||
uses: andymckay/labeler@1.0.4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
add-labels: "solved"
|
||||
remove-labels: "in-progress, on-hold, triage"
|
||||
issue-number: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }}
|
||||
Reference in New Issue
Block a user