Skip to content

Commit c31d747

Browse files
authored
ci: add additionalAllowedUsers to ecosystem-ci-trigger workflow (#19048)
1 parent a1f4b46 commit c31d747

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ecosystem-ci-trigger.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
const user = context.payload.sender.login
1818
console.log(`Validate user: ${user}`)
1919
20+
const additionalAllowedUsers = ['lukastaegert']
21+
2022
let hasTriagePermission = false
2123
try {
2224
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
@@ -29,7 +31,7 @@ jobs:
2931
console.warn(e)
3032
}
3133
32-
if (hasTriagePermission) {
34+
if (hasTriagePermission || additionalAllowedUsers.includes(user)) {
3335
console.log('User is allowed. Adding +1 reaction.')
3436
await github.rest.reactions.createForIssueComment({
3537
owner: context.repo.owner,

0 commit comments

Comments
 (0)