We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ecosystem-ci-trigger
1 parent a1f4b46 commit c31d747Copy full SHA for c31d747
.github/workflows/ecosystem-ci-trigger.yml
@@ -17,6 +17,8 @@ jobs:
17
const user = context.payload.sender.login
18
console.log(`Validate user: ${user}`)
19
20
+ const additionalAllowedUsers = ['lukastaegert']
21
+
22
let hasTriagePermission = false
23
try {
24
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
@@ -29,7 +31,7 @@ jobs:
29
31
console.warn(e)
30
32
}
33
- if (hasTriagePermission) {
34
+ if (hasTriagePermission || additionalAllowedUsers.includes(user)) {
35
console.log('User is allowed. Adding +1 reaction.')
36
await github.rest.reactions.createForIssueComment({
37
owner: context.repo.owner,
0 commit comments