use our own labeler in more triaging workflows (#51235)
This commit is contained in:
17
.github/workflows/triage-issue-comments.yml
vendored
17
.github/workflows/triage-issue-comments.yml
vendored
@@ -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:
|
||||
|
||||
9
.github/workflows/triage-pull-requests.yml
vendored
9
.github/workflows/triage-pull-requests.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user