Skip to content

Commit

Permalink
Do not add 'verify' label when PR is created by bitnami-bot (#77)
Browse files Browse the repository at this point in the history
* Do not add 'verify' label when PR is created by bitnami-bot

Signed-off-by: Miguel Ruiz <[email protected]>

* Remove repo-token

Signed-off-by: Miguel Ruiz <[email protected]>

* Revert previous conditional

Signed-off-by: Miguel Ruiz <[email protected]>

---------

Signed-off-by: Miguel Ruiz <[email protected]>
  • Loading branch information
migruiz4 authored Sep 23, 2024
1 parent 0b6c06f commit af03fd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/item-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ jobs:
uses: fmulero/labeler@f49bf680252fc8ac12cbebb6e0ed8ea19d0712da
if: ${{ steps.get-item.outputs.type != 'issue' && contains(fromJson(env.BITNAMI_TEAM), steps.get-item.outputs.author) }}
with:
# Bitnami bot token is required to trigger CI workflows
repo-token: ${{ secrets.BITNAMI_SUPPORT_BOARD_TOKEN }}
# In the past, we added the repo-token to ensure adding this label triggered a workflow
# It is no longer needed since the changelog PR will automatically trigger a new workflow
add-labels: verify
- name: Triage labeling
uses: fmulero/labeler@f49bf680252fc8ac12cbebb6e0ed8ea19d0712da
Expand All @@ -108,7 +108,7 @@ jobs:
with:
add-labels: ${{ (contains(fromJson(env.BITNAMI_TEAM), steps.get-item.outputs.author)) && 'bitnami' || 'triage' }}
remove-labels: on-hold, in-progress, solved, ${{ (contains(fromJson(env.BITNAMI_TEAM), steps.get-item.outputs.author)) && 'triage' || 'bitnami' }}
- name:
- name: Assign issue
uses: pozil/auto-assign-issue@c5bca5027e680b9e8411b826d16947afd8c76b32
if: ${{ steps.get-item.outputs.author != 'bitnami-bot' }}
with:
Expand Down

0 comments on commit af03fd2

Please sign in to comment.