1
0
mirror of synced 2026-01-06 06:02:35 -05:00

use our own labeler in more triaging workflows (#51235)

This commit is contained in:
Robert Sese
2024-06-17 13:07:07 -05:00
committed by GitHub
parent 2ca5864355
commit b4550cf74c
2 changed files with 17 additions and 9 deletions

View File

@@ -41,16 +41,19 @@ jobs:
console.log(`This issue was commented on by an external contributor.`)
return 'false'
}
- name: Label issues with new comments with 'triage'
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
if: ${{ steps.is-internal-contributor.outputs.result == 'false' }}
with:
add-labels: 'triage'
ignore-if-labeled: true
- name: Check out repo
if: ${{ failure() }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: ./.github/actions/node-npm-setup
- name: Label issues with new comments with 'triage'
uses: ./.github/actions/labeler
if: ${{ steps.is-internal-contributor.outputs.result == 'false' }}
with:
addLabels: 'triage'
ignoreIfLabeled: true
- uses: ./.github/actions/slack-alert
if: ${{ failure() }}
with:

View File

@@ -22,7 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: ./.github/actions/node-npm-setup
- name: Label new pull requests with 'triage'
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
uses: ./.github/actions/labeler
with:
add-labels: 'triage'
addLabels: 'triage'