Merge pull request #2462 from microsoft/JerryYangKai-patch-1
Update team_issue_label.yaml
This commit is contained in:
Коммит
c3e77fa4ff
|
@ -19,7 +19,7 @@ jobs:
|
|||
env:
|
||||
ISSUE_OWNER: ${{ github.event.issue.user.login }}
|
||||
run: |
|
||||
echo "result=$(node -p -e "['greazer', 'sevillal', 'shsuman', 'tbombach', 'yaoleo34'].filter(item => process.env.ISSUE_OWNER.toLowerCase() === item.toLowerCase()).length > 0 ? 1 : 0")" >> $GITHUB_OUTPUT
|
||||
echo "result=$(node -p -e "['JerryYangKai', 'siglud', 'yukun-dong', 'yaoleo34'].filter(item => process.env.ISSUE_OWNER.toLowerCase() === item.toLowerCase()).length > 0 ? 1 : 0")" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
- name: Should we proceed
|
||||
id: proceed
|
||||
|
@ -67,4 +67,4 @@ jobs:
|
|||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
assignees: ['${{ env.DRI_RESPONSIBLE }}']
|
||||
})
|
||||
})
|
||||
|
|
|
@ -2,7 +2,7 @@ var getWeekNumber = require('./getWeekNumber.js');
|
|||
|
||||
function getDRIResponsible(driOwnersString) {
|
||||
if (!driOwnersString) {
|
||||
return process.env.DRI_RESPONSIBLE_DEFAULT || 'tbombach';
|
||||
return process.env.DRI_RESPONSIBLE_DEFAULT || 'JerryYangKai';
|
||||
}
|
||||
const owners = driOwnersString.split(' ');
|
||||
const countOfOwners = owners.length;
|
||||
|
@ -11,4 +11,4 @@ function getDRIResponsible(driOwnersString) {
|
|||
return owners[responsibleIndex];
|
||||
}
|
||||
|
||||
console.log(getDRIResponsible(process.env.DRI_OWNERS));
|
||||
console.log(getDRIResponsible(process.env.DRI_OWNERS));
|
||||
|
|
|
@ -18,10 +18,9 @@ jobs:
|
|||
${{
|
||||
contains(
|
||||
fromJson('[
|
||||
"shsuman",
|
||||
"sevillal",
|
||||
"tbombach",
|
||||
"jimgries"
|
||||
"JerryYangKai",
|
||||
"yukun-dong",
|
||||
"siglud"
|
||||
]'),
|
||||
github.actor
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче