mirror of
https://github.com/bitnami/containers.git
synced 2026-04-05 08:47:47 +08:00
[bitnami/*]Use github token to reduce the number of labeled events (#4452)
Use github token to reduce the number of labeled events Signed-off-by: Fran Mulero <fmulero@vmware.com> Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
1
.github/workflows/ci-automated-pipeline.yaml
vendored
1
.github/workflows/ci-automated-pipeline.yaml
vendored
@@ -25,7 +25,6 @@ jobs:
|
||||
name: Label PR
|
||||
uses: andymckay/labeler@1.0.4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
add-labels: "verify, auto-merge"
|
||||
- id: auto-merge
|
||||
name: Enable auto-merge
|
||||
|
||||
3
.github/workflows/moving-cards.yml
vendored
3
.github/workflows/moving-cards.yml
vendored
@@ -33,7 +33,6 @@ jobs:
|
||||
if: ${{ github.event.project_card.column_id == env.ON_HOLD_COLUMN_ID }}
|
||||
uses: andymckay/labeler@1.0.4
|
||||
with:
|
||||
repo-token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
||||
add-labels: "on-hold"
|
||||
remove-labels: "triage"
|
||||
- name: In progress labeling
|
||||
@@ -41,7 +40,6 @@ jobs:
|
||||
if: ${{ github.event.project_card.column_id == env.IN_PROGRESS_COLUMN_ID }}
|
||||
uses: andymckay/labeler@1.0.4
|
||||
with:
|
||||
repo-token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
||||
add-labels: "in-progress"
|
||||
remove-labels: "on-hold, triage"
|
||||
- name: Solved labeling
|
||||
@@ -49,7 +47,6 @@ jobs:
|
||||
if: ${{ github.event.project_card.column_id == env.SOLVED_COLUMN_ID }}
|
||||
uses: andymckay/labeler@1.0.4
|
||||
with:
|
||||
repo-token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
||||
add-labels: "solved"
|
||||
remove-labels: "in-progress, on-hold, triage"
|
||||
assign-assignee-if-needed:
|
||||
|
||||
1
.github/workflows/triage.yml
vendored
1
.github/workflows/triage.yml
vendored
@@ -51,7 +51,6 @@ jobs:
|
||||
# Only if moved into Solved
|
||||
uses: andymckay/labeler@1.0.4
|
||||
with:
|
||||
repo-token: "${{ secrets.BITNAMI_BOT_TOKEN }}"
|
||||
add-labels: ${{ (!contains(fromJson(env.BITNAMI_TEAM), github.actor)) && 'triage' || 'bitnami' }}
|
||||
# For reopened issues
|
||||
remove-labels: "solved"
|
||||
Reference in New Issue
Block a user