Skip to content

Commit e00a8cf

Browse files
committed
fix: restrict automerge to specific user whitelist
1 parent ee4effe commit e00a8cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
# Prüft, ob der Ersteller des PRs Mitglied der Organisation ist
1414
# 'MEMBER' umfasst alle Mitglieder der Org, in der das Repo liegt
15-
if: (github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'COLLABORATOR') && github.repository != 'lemueIO/.github'
15+
if: contains(fromJson('["derlemue", "m3l1nda", "osint-inc", "Cipher-Pup"]'), github.event.pull_request.user.login) && github.repository != 'lemueIO/.github'
1616
steps:
1717
- name: Enable Automerge
1818
uses: peter-evans/enable-pull-request-automerge@v3

0 commit comments

Comments
 (0)